rsync --delete problem with accent characters on Mac OS X HFS

Matt McCutchen matt at
Tue Aug 19 23:52:22 GMT 2008

On Wed, 2008-08-20 at 00:20 +0200, Komáromi Tamás wrote:
> I would like to sync my Linux firewall to my Mac OS X.

> The rsync deletes my files with accents and download it again.

> $ /sw/bin/rsync --archive --update --verbose  --delete firewall:teszt .
> receiving incremental file list
> deleting teszt/körte.rtf
> deleting teszt/élet.txt
> deleting teszt/árvíztűrő tükörfúrógép.rtf
> teszt/körte.rtf
> teszt/árvíztűrő tükörfúrógép.rtf
> teszt/élet.txt

This is probably a result of the Mac filesystem's infamous behavior of
automatically decomposing UTF-8 characters in filenames, which is
mentioned in the rsync FAQ:

To fix it on a pull, pass --iconv=UTF8-MAC,UTF-8 .

-------------- 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