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

2021-10-18 Thread Milan Crha via evolution-list
On Mon, 2021-10-18 at 19:01 -0600, larry wrote: > bash: usr/libexec/evolution/evolution-backup: No such file or > directory Hi, supposing you did copy&paste here, the path is missing leading forward slash, aka it should be an absolute path: /usr/ not a relative path usr/

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

2021-10-18 Thread Andre Klapper via evolution-list
On Mon, 2021-10-18 at 19:01 -0600, larry wrote: > bash: usr/libexec/evolution/evolution-backup: No such file or > directory If your distro uses different locations, please either search your harddisk for the location, or contact your distro for further help. Thanks, andre -- Andre Klapper  |  ak.

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

2021-10-18 Thread larry
On Mon, 2021-10-18 at 22:57 +0100, Pete Biggs wrote: > > In that case, I guess I'll back those up too, at least until I can > > find a way to use the built-in backup utility from a bash script > > run with cron. > Milan has already pointed you at the command to use within a script - > i.e. > /usr

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

2021-10-18 Thread larry
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 for automatically kicking of a script?

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

2021-10-18 Thread Pete Biggs
On Mon, 2021-10-18 at 18:44 +, Gilchrist, Michael Aaron via evolution-list wrote: > I often want to save a message as a simple txt file. > Currently, I export a message I want to save to a .mbox file and then run a > script on it to extract the text. The script uses the From, Date, and Subject

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

2021-10-18 Thread Patrick O'Callaghan
On Mon, 2021-10-18 at 18:44 +, Gilchrist, Michael Aaron via evolution-list wrote: > I often want to save a message as a simple txt file. > Currently, I export a message I want to save to a .mbox file and then > run a > script on it to extract the text.  The script uses the From, Date, > and Sub

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

2021-10-18 Thread Alex Doll
-Original Message- From: "Gilchrist, Michael Aaron via evolution-list" Subject: [Evolution] export message to mbox and then process with script Date: Mon, 18 Oct 2021 18:44:52 + > I often want to save a message as a simple txt file. Currently, I > export a message I want to save to a

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

2021-10-18 Thread Pete Biggs
On Mon, 2021-10-18 at 14:08 -0600, larry wrote: > On Mon, 2021-10-18 at 19:26 +0100, Pete Biggs wrote: > > > > If you still want to use manual backup, then I suppose you know > > > > what to save. Just in case, it's written here: > > > > https://help.gnome.org/users/evolution/stable/data-storage.ht

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

2021-10-18 Thread larry
On Mon, 2021-10-18 at 19:27 +0100, Pete Biggs wrote: > > Would the change cause a problem with the restore? Or would it just > > get the change on the next backup? > If the files change while things are being backed up, the backup will > be in an inconsistent state and the restore will possibly fai

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

2021-10-18 Thread larry
On Mon, 2021-10-18 at 19:26 +0100, Pete Biggs wrote: > > > If you still want to use manual backup, then I suppose you know > > > what to save. Just in case, it's written here: > > > https://help.gnome.org/users/evolution/stable/data-storage.html > > That's an interesting list. > > Correct me if I'm

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

2021-10-18 Thread larry
On Mon, 2021-10-18 at 19:20 +0100, Pete Biggs wrote: > > Currently it backs up .local/share/evolution, > > which gives me a 500 MB file, and takes a little over 6 minutes. > I'm afraid what you think you need backed up is > insufficient. There's an in-app help that details the data locations > for

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

2021-10-18 Thread Gilchrist, Michael Aaron via evolution-list
I often want to save a message as a simple txt file. Currently, I export a message I want to save to a .mbox file and then run a script on it to extract the text. The script uses the From, Date, and Subject information to automatically generate a meaningful file name. I'm wondering how I can auto

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

2021-10-18 Thread Pete Biggs
> > Here's a question I forgot to ask. > I have, while testing my backup script, occasionally seen a message > saying that a file changed while tar was backing it up. > > In all cases, the backup finished normally, as far as I can tell. > > What would the consequence of this be? > > Would the c

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

2021-10-18 Thread Pete Biggs
> > > If you still want to use manual backup, then I suppose you know > > what > > to save. Just in case, it's written here: > > https://help.gnome.org/users/evolution/stable/data-storage.html > > That's an interesting list. > Correct me if I'm wrong, but I don't think I need .cache, and I thin

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

2021-10-18 Thread Pete Biggs
> > I prefer that it copies everything, where 'everything' is exactly, and > only, what I think I need backed up. > > Currently it backs up .local/share/evolution, > which gives me a 500 MB file, and takes a little over 6 minutes. I'm afraid what you think you need backed up is insufficient. Th

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

2021-10-18 Thread larry
On Mon, 2021-10-18 at 12:24 +0200, Milan Crha via evolution-list wrote: > On Fri, 2021-10-15 at 15:37 -0600, larry wrote: > > Is there any way to take it offline, then back online from a bash > > script? > The offline more works only for the Mail part. All the other parts > are not touched. Here's

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

2021-10-18 Thread larry
On Mon, 2021-10-18 at 12:16 +0100, Patrick O'Callaghan wrote: > On Mon, 2021-10-18 at 12:24 +0200, Milan Crha via evolution-list > wrote: > > I guess you foresee a manual backup, not to use the backup utility > > provided by the Evolution itself, hidden under the File- > > > Backup/Restore > > Evol

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

2021-10-18 Thread larry
On Mon, 2021-10-18 at 12:24 +0200, Milan Crha via evolution-list wrote: > On Fri, 2021-10-15 at 15:37 -0600, larry wrote: > > I want to back up Evolution mail using a cron job. > > I want to use tar, but I would prefer that files in the > > evolution/mail don't change while it's happening. > I gues

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

2021-10-18 Thread Patrick O'Callaghan
On Mon, 2021-10-18 at 12:24 +0200, Milan Crha via evolution-list wrote: > On Fri, 2021-10-15 at 15:37 -0600, larry wrote: > > I want to back up Evolution mail using a cron job. > > I want to use tar, but I would prefer that files in the > > evolution/mail > > don't change while it's happening. > >

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

2021-10-18 Thread Milan Crha via evolution-list
On Fri, 2021-10-15 at 15:37 -0600, larry wrote: > I want to back up Evolution mail using a cron job. > I want to use tar, but I would prefer that files in the evolution/mail > don't change while it's happening. Hi, I guess you foresee a manual backup, not to use the backup utility provided