On Tue, Jun 27, 2017 at 11:15:50AM -0400, Patrick Shanahan wrote:
> * Jason <elect...@emypeople.net> [06-27-17 11:05]:
> > I use rsync for doing incremental backups to a USB stick. I am having
> > a problem that rsync does not like backing up my mutt emails since
> > they contain a colon in the filename. For example:
> > 
> > 1498570870.M370636P2743Q2R5bbb999d0aefc481.net1:2,S
> > 
> > Using fat32 format on the USB stick may be part of the problem but I
> > don't want to change to a different format for other reasons.
> > 
> > What is the best way to backup these emails or how do others handle
> > this?
> 
> not tried:  enclose file-name in quotes.
> 
> maybe tr to change from ":" to "\:" but fat32 might not like that???

Thanks for your reply.

I use a one line rsync command from a shell script to recursively
backup my file tree so I'm not sure how any of the above suggestions
could be incorporated into that. I've thought about using a script to
replace ":" with another character but I could not do that very well
_in place_ as I assume that could mess up mutt, or at least cause mutt
to rename the file back.

OTOH, to copy all the files to another location to rename, and then
backup from there, seems like a bit of overkill.



> -- 
> (paka)Patrick Shanahan       Plainfield, Indiana, USA          @ptilopteri
> http://en.opensuse.org    openSUSE Community Member    facebook/ptilopteri
> Registered Linux User #207535                    @ http://linuxcounter.net
> Photos: http://wahoo.no-ip.org/piwigo             paka @ IRCnet freenode

Reply via email to