rsync with scp behavior
I'm running :
rsync -r -v -e ssh root@nn.nn.nn.nn:/usr/local/websites/* /usr/local/websites and each time I run it it copies everything - all files. I thought rsync was only supposed to copy files that had been added or modified. thanks in advance for any help. |
Did you try with -u option (update)? From the man page,
Quote:
|
The --ignore-existing doesn't update changed files. Without the -t option, rsync will compare all the files, which can be as slow as copying them. Just add the -a option, which is the same as -rlptgoD.
|
Quote:
cool - that worked - thanks you - kudos given. |
All times are GMT -5. The time now is 05:26 PM. |