Difference between revisions of "Rsync"
Jump to navigation
Jump to search
m |
m |
||
| Line 3: | Line 3: | ||
*do delete .Trash Recycled and similarly funky stuff | *do delete .Trash Recycled and similarly funky stuff | ||
*delete movies ie. large files worthy of deleting beforehand, as it slows whole affair | *delete movies ie. large files worthy of deleting beforehand, as it slows whole affair | ||
| + | *to keep backup on TARGET disk and have deleted files delete also on backup disk | ||
| + | rsync -avrn --del SOURCE/ TARGET | ||
Revision as of 23:14, 10 February 2009
- for some reason first directory should be with trailing slash and second (target) without (?)
- use -n for 'dry run' (to check what is to be _deleted_)
- do delete .Trash Recycled and similarly funky stuff
- delete movies ie. large files worthy of deleting beforehand, as it slows whole affair
- to keep backup on TARGET disk and have deleted files delete also on backup disk
rsync -avrn --del SOURCE/ TARGET