Rsync

From Useful Things
Revision as of 12:01, 30 June 2014 by Milosivanovic (talk | contribs) (Created page with "== Common arguments == <code>-a</code> same as <code>--archive</code><br /> <code>-v</code> same as <code>--verbose</code><br /> <code>-x</code> same as <code>--one-file-syste...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Common arguments

-a same as --archive
-v same as --verbose
-x same as --one-file-system
-z compress files over the network

Push

rsync -avx /path/to/source user@host:/path/to/destination

Pull

rsync -avx user@host:/path/to/source /path/to/destination