Bug 6041 - rsync --delete from ext3 to hfs+ always deletes files with special characters in name.
rsync --delete from ext3 to hfs+ always deletes files with special characters...
Product: rsync
Classification: Unclassified
Component: core
x86 Mac OS X
: P3 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
Depends on:
  Show dependency treegraph
Reported: 2009-01-15 14:25 UTC by Bart ten Brinke
Modified: 2009-04-29 07:47 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Bart ten Brinke 2009-01-15 14:25:45 UTC
I am using rsync to sync from my ubuntu machine (ext3) to my mac (HFS+ disk image).
When I use the --delete flag, i get the following problem:

deleting bart/Fotos/André.jpg

Any file containing a special character (éäëüê etcetera) gets deleted and then resynced. When I omit the --delete flag, rsync does everything normally.

I tested with 2.6.9 and 3.0.5 and both have the exact same behavior.
The files themselves are completely correct (no corruption or anything), so my guess is the delete checking has problems comparing the two filenames across the different filesystems and then falsely marks them as deleted.
Comment 1 Matt McCutchen 2009-01-16 20:58:59 UTC
The FAQ discusses a problem copying to HFS+:


Is this what you are seeing?
Comment 2 Bart ten Brinke 2009-01-18 09:20:23 UTC
Man do I feel like an idiot. I searched all the bugzilla tickets extensively but never looked at the rsync faq. Sorry about this!