Rsync
Jump to navigation
Jump to search
- 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 -avr --del SOURCE/ TARGET