Wednesday, March 23, 2011

simple rsync

How to use rsync logic to copy only modified/new files and not have to run any service on the other host.

basically you will have the same result/security/convenience as running scp
scp -r sourcefiles/* destination.host.com:/destination/

but with the added rsync logic:
rsync -r -v -e ssh sourcefiles/* destination.host.com:/destination/