Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Resource forks require a patch to rsync!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Resource forks require a patch to rsync!
Authored by: reynhout on Jan 18, '06 08:25:12AM

rsync doesn't understand Macintosh resource forks.

Apple patched rsync (in 10.4) to fix this problem for Mac->Mac transfers, but Mac->other UNIXes still doesn't work properly.

I wrote a patch for rsync that solves this problem. Details at:
http://www.quesera.com/reynhout/misc/rsync+hfsmode

PS: to fix the script, put a backslash ('\') at the end of the first line of the rsync command. Also, FWIW, recent versions of rsync default to using ssh as the transport, so the '-e ssh' is unnecessary.



[ Reply to This | # ]
Resource forks require a patch to rsync!
Authored by: wiesmann on Jan 19, '06 06:19:45PM

You might as well use unison, which supports backin-up resource forks to non Mac servers. This program also supports a large variety of options.

http://www.cis.upenn.edu/~bcpierce/unison/



[ Reply to This | # ]
Resource forks require a patch to rsync!
Authored by: reynhout on Jan 19, '06 07:34:19PM

Yeah, Unison is great for some purposes.

But backups are supposed to be perfect replicas of important data, and Unison doesn't handle Finder metadata properly. It certainly could, but the designers haven't chosen to pursue it fully.. Unison is designed primarily to provide different functionality (multidirectional synchronization).

For keeping your home dir or media files, etc synchronized in multiple locations, Unison is a great tool.

For backups, I think it's hard to beat rsync.



[ Reply to This | # ]