Git vs rsync when resource fork must be preserved

I have some ancient files that I need to share between Macs. There are over 100,000 of them. I need to keep the directory containing these files in sync. I thought Git would be a good solution, and it was, until I discovered that Git has stripped the resource fork off of every file on the remote machine(s).

So now I'm looking for another solution. Considering rsync but thought I'd ask here to see if anyone has experience with old Mac OS Classic files in a modern Mac OS X environment.


You want to use rsync -E.

$ rsync --help
...
-E, --extended-attributes   copy extended attributes
...