The Samba-Bugzilla – Bug 6747
rsync recopies files with diacritics in the file names.
Last modified: 2009-09-20 09:10:33 UTC
I am using the following command in the mac terminal to copy files from an ext3 linux computer (Ubuntu 9.04) to my Mac:
rsync -rptuv --delete --progress email@example.com:/home/myusername/Music/English/ /Users/myusername/Music/Music/
Both apparently running rsync 3.05)
The problem is that if the file name contains a diacritic (such as "Sinéad O'Connor" or "Déjà Vu", the file gets deleted and recopied, even if the file hasn't changed. (If I run the rsync command twice in a row, the file gets deleted and copied twice ina row.)
Note that the rest of my library gets ignored, appropriately, since it hasn't changed.
This is the result of an obnoxious behavior of the Mac filesystem. See this FAQ entry for an explanation and a workaround: