On 17-06-27 at 11:20, Jason wrote: > On Tue, Jun 27, 2017 at 05:49:30PM +0200, Simon Thelen wrote: > > On 17-06-27 at 10:00, Jason wrote: > > > 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. > > Fat32 doesn't like : afaik (I'm pretty sure all windows-based file > > systems don't since that's the drive/path separater) > > > > > What is the best way to backup these emails or how do others handle > > > this? > > Either write a script that backs the files to a temporary directory and > > then renames them to remove the colons, use a program besides rsync that > > can handle this case (I believe rdiff-backup can) or I believe there are > > fuse layers that can handle this transparently (fuse-posixovl etc). > > But how can a different program work if the problem lies with the > fat32 filesystem? I know drag and drop using pcmanfm file manager does > not work either. Maybe I'll end up trying your first suggestion > (copying to a temporary directory and renaming). Certain programs have the ability to mangle filenames for filesystems that don't support certain characters. rdiff-backup for instance will also mangle filenames with upper/lower casing for case-insensitive filesystems to prevent collisions.
(and sorry for earlier off-list reply, forgot to add mutt-users to my subscribe line) -- Simon Thelen
