tutorials:rsync
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:rsync [2012/06/15 01:11] – chkuo | tutorials:rsync [2012/06/15 01:18] (current) – chkuo | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== rsync ====== | ====== rsync ====== | ||
- | '' | + | '' |
===== Examples ===== | ===== Examples ===== | ||
Line 6: | Line 6: | ||
<code bash> | <code bash> | ||
rsync -av --delete ~/ | rsync -av --delete ~/ | ||
- | </bash> | + | </code> |
Alternatively, | Alternatively, | ||
<code bash> | <code bash> | ||
rsync -av --delete oak.local:/ | rsync -av --delete oak.local:/ | ||
- | </bash> | + | </code> |
- | This better than using '' | + | This is better than using '' |
+ | |||
+ | It is **important** to note that the absence or presence of the trailing slash at the end of the source directory (i.e., '' | ||
===== Advanced uses ===== | ===== Advanced uses ===== | ||
- | If we need to sync some directories quite often (like the ~/ | + | If we need to sync some directories quite often (like the '' |
- | + | ||
tutorials/rsync.1339693898.txt.gz · Last modified: by chkuo