I'm using below command to transfer files cross server
scp -rc blowfish /source/directory/* username@domain.net:/destination/directory
Is there a way to transfer only files modified files just like update
command for cp
?
centoslinuxrsyncscp
I'm using below command to transfer files cross server
scp -rc blowfish /source/directory/* username@domain.net:/destination/directory
Is there a way to transfer only files modified files just like update
command for cp
?
Best Answer
rsync
is your friend.If you want it to delete files at the destination that no longer exist at the source, add the
--delete
option.