rsync --files-from option file with a custom Delimiter

Matt McCutchen matt at
Sun May 18 02:47:07 GMT 2008

On Sun, 2008-05-18 at 02:35 +0000, JanakiRam wrote:
> I'm new to rsync usage in Mac OS X. I'm having a strange issue with --
> files-from option.
> I'm providing the --files-from to provide a file , which contains the
> list of files separated by newline character , to perform backup
> operation.  Especially in Mac OS X , particular tiff bundle files are
> having \r as part of the filename.When rsync reads the filepaths using
> delimiter \r.Hence my filename is split into 2 strings and finally
> getting No Such file or directory error.
> Is there any way i can specify the custom delimiter to rsync to read
> the file names. Please help me to solve this.

You can use a null byte ('\0') as the delimiter if you pass --from0 .

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url :

More information about the rsync mailing list