rsync: files copied with hidden attribute

Posted by haritan on Server Fault See other posts from Server Fault or by haritan
Published on 2012-11-14T22:39:23Z Indexed on 2012/11/14 23:02 UTC
Read the original article Hit count: 163

Filed under:

I run a backup from Windows 7 machine to Mac machine running Mountain Lion using rsync that is packaged in DeltaCopy application. I can't use DeltaCopy interface because the destination is a mapped drive (Mac's samba drive).

So here is my setup: I have a folder in Mac that is the destination folder and I share this folder via Samba share. On windows machine, I map this samba share to a drive (let's say M:/)

I run rsync:

rsync -arv --delete "/cygdrive/C//origin/" "/cygdrive/M//mybackup/"

it runs fine except that all files on the destination are hidden. Anyone has an idea on what's happening here? I really appreciate any feedback. Thank you.

© Server Fault or respective owner

Related posts about rsync