Bug 6041 - rsync --delete from ext3 to hfs+ always deletes files with special characters in name.
Summary: rsync --delete from ext3 to hfs+ always deletes files with special characters...
Status: RESOLVED INVALID
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.0
Hardware: x86 Mac OS X
: P3 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-15 14:25 UTC by Bart ten Brinke
Modified: 2009-04-29 07:47 UTC (History)
2 users (show)

See Also:


Attachments

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

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

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!