I'm using rsync 3.0.6 at Mac OS X 10.4.11/PPC to sync a harddisc to an network folder (via AFP). Everything is fine but if a file begins with an underscore ( _ ), rsync hangs (e.g. _x_.jpg). I tried to analyze the problem with a lots of debugging options but I don't find a solutions (but to jump over these files). With rsync 2.9.6 and 2.6.6 it is the same problem. I'm using configure without any further options.
does OSX have strace/truss utility ? if yes, could you run rsync under control of such tracing tools (output redirected to a file via ">/trace.log 2>&1") and then upload the result ?
a year has gone by with no answer. i`d recommend closing this one due to missing user input
Rsync doesn't care about an underscore-starting file, but OS X sometimes creates virtual files for associated data that are named for the primary file with a leading underscore added. The official rsync uses xattrs for this data, so make sure you aren't mixing an apple-modified rsync (which creates extra filenames) with an xattr-using rsync.