[patch] Replace illegal characters in filenames for FAT (switch)

Matt McCutchen matt at mattmccutchen.net
Sun Jan 25 17:20:53 GMT 2009


On Sat, 2009-01-24 at 23:59 +0100, Jonas Häggqvist wrote:
> This patch adds a switch --fat-filenames which replaces all characters
> that aren't legal on FAT filesystems with an underscore. This is the first
> time I touch the rsync code, so I may not be going about it the right way,
> but it seems to be working.

Note that this is a special case of the existing transliterate patch:

http://rsync.samba.org/ftp/rsync/patches/transliterate.diff

If you'd like to be able to pass --fat-filenames, you could make that a
popt alias for the appropriate --tr option.

-- 
Matt



More information about the rsync mailing list