A Manic Developer's Place

Simple rsync command

January 11, 2017

DevOps Linux

Sync directories:

(Dont add a trailing slash on src folder our you miss a level…idiot)


rsync -aP /home/fatty/data-shared fatty@192.168.101.155:/home/fatty/

Useful flags:


--delete

--dry-run

ManicDev on Github

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/O d-pu s-:+++ a+ C+++ UL+++ P- L++ E--- W+++ N o-- K--? w++ O M+ V PS PE Y+ PGP t+ 5? X+ R tv- b+ DI- D++ G e+ h++ r++ z
------END GEEK CODE BLOCK------