Can anyone help with an rsync query?

Soldato
Joined
23 Mar 2007
Posts
2,553
Location
Essex
Hi all

Just wondered if someone might be able to help me out here,

I am trying to backup the user data files on a mac server using rsync, the destination is a seagate nas box. I am using the following switches in rsync "source -arvt destination" The problem being no matter what switches i try rsync seems to want to copy the same files every time. I decided to setup a windows vm in virtual box and create an xcopy batch (prefer this to robocopy) which contained a few files i created and then pointed to the share on the nas box and ran the script and things copied over just fine. Ran the script again and xcopy new the files hadnt changed so didnt copy them.

Am i missing something in rsync that is forcing the un modified files to be copied over every time?

Thanks guys
 
I think you need the command to be "rsync -[arguments] source destination"

I also don't think you need the r argument since the a argument already implies the recursive option. Use one or the other.

Im not sure but I think there is also a --ignore-existing switch that might help. Sorry but I'm not entirely sure what I'm talking about here as I am used to Linux and don't know if it's exactly the same on a Mac.
 
humm neither file system is FAT32 is it? There are size and modify flags with rsync, have you tried those?
 
Back
Top Bottom