Re: [Evolution] Take Evolution offline from a bash script?

2021-10-19 Thread Patrick O'Callaghan
On Tue, 2021-10-19 at 09:54 -0600, larry wrote: > I also notice, in the same directory as > evolution-backup, a file called killev. IIRC killev is exactly the same as "evolution --force-shutdown". I believe it's just an older utility that is kept for backwards compatibility. poc ___

Re: [Evolution] Take Evolution offline from a bash script?

2021-10-19 Thread Milan Crha via evolution-list
On Tue, 2021-10-19 at 09:54 -0600, larry wrote: > a file called killev. Would that be safe to use, and > would it completely shut down Evolution and all its processes? Hi, that's called by `evolution --force-shutdown` and if you use evolution- backup now, then it does everything needed alr

Re: [Evolution] Take Evolution offline from a bash script?

2021-10-19 Thread larry
On Tue, 2021-10-19 at 07:47 +0200, Milan Crha via evolution-list wrote: > On Mon, 2021-10-18 at 19:01 -0600, larry wrote: > > bash: usr/libexec/evolution/evolution-backup: No such file or > > directory > supposing you did copy&paste here, the path is missing leading > forward slash, aka it should b

Re: [Evolution] Take Evolution offline from a bash script?

2021-10-19 Thread Patrick O'Callaghan
On Mon, 2021-10-18 at 19:01 -0600, larry wrote: > $ sudo usr/libexec/evolution/evolution-backup --backup > /media/larry/Modata/backups/evo-backup-X.tar.gz > > sudo: usr/libexec/evolution/evolution-backup: command not found There's a missing '/' at the beginning. Either that or your $PATH is set i

Re: [Evolution] export message to mbox and then process with script

2021-10-19 Thread Patrick O'Callaghan
On Mon, 2021-10-18 at 18:35 -0600, larry wrote: > On Tue, 2021-10-19 at 00:52 +0100, Pete Biggs wrote: > > One possibility is to save the message to a specific directory and > > have a cron job scan that directory for mbox files and apply your > > script to them. > > Would inotify_add_watch work f