v0.3 is here! And bug of invisible files is out! It was another silly bug... getattrlist puts in the buffer the length of the data then the data.setattrlist gets a buffer with only the data... So in the copy the data was padded of a long size, and the Finder flags were messed up, and sometimes the invisible flag was set... I've got the clue here http://irumors.wordpress.com/2007/01/31/how-to- make-finder-items-invisible-via-terminal/ and more particularly with the excelent /Developer/Tools/GetFileInfo who shown all flags padded from original and copy.
If you want to test it on a Tiger or Leopard machine, it's possible. When configuring, use ./configure --host=powerpc-apple-darwin7.9.0 -- disable-acl-support to compile it as if you were using Panther. This patch should also work on Jaguar, Puma and even Cheetah. The carbon API I used is available since 10.0. So if the rest of rsync doesn't use features not available on those systems, it should compile fine.
Well, this version is less buggy, but it still a test version, so as always, don't trust it results until checking it's all ok!
Vitorio
rsync10.3xattr_supportv0.3.diff
Description: Binary data
-- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html