rsync to a Windows share

I'm using rsync to sync files from a linux machine to an SMB share (Windows). However, a weird thing happens, is everytime the rsync runs, it syncs the folder names which weren't even touched. File-wise, all is good.

rsync -avzh --exclude /Something . /mnt/smb-mnt/

And the verbose:

15:12:37 sending incremental file list
15:12:37 ./
15:12:52 SomeFolderThatWasntChanged/
15:12:57 SomeFolderThatWasntChangedfooter/
15:12:58 SomeFolderThatWasntChanged/mobile/
15:13:01 SomeFolderThatWasntChanged/sideBar/
15:13:01 USdialog/
15:13:02 css/
15:13:04 post/
15:13:05 post/images/
...

In my opinion, each time files are moved to the share, the owner and group changes since it's a Windows NTFS permissions. Is that the reason? And is there a way to avoid checking the owner\group change?

3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like