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

Matt McCutchen matt at mattmccutchen.net

Tue Aug 19 23:52:22 GMT 2008

Previous message: rsync –delete problem with accent characters on Mac OS X HFS

Next message: Rsync of LVM Snapshots copies whole file

Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

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:

http://rsync.samba.org/FAQ.html#2

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

viarsync –delete problem with accent characters on Mac OS X HFS.

Annunci