mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-19 02:10:42 +01:00
7 lines
349 B
Text
7 lines
349 B
Text
|
# copy files from remote to local, maintaining file propertires and sym-links (-a), zipping for faster transfer (-z), verbose (-v).
|
||
|
rsync -avz host:file1 :file1 /dest/
|
||
|
rsync -avz /source host:/dest
|
||
|
|
||
|
# Copy files using checksum (-c), rather than time, to detect if the file has changed. (Useful for validating backups).
|
||
|
rsync -avc /source/ /dest/
|