Friday, June 28, 2013

Quick Rsync

Most Important, the rsync!
this is done on the old install (ULL 10.04) so I can restore my profile to a separate location on LMDE and play.

rsync commands with dry run and log:
#be sure destination directory has been created/exists

rsync -avzhPn --exclude-from 'exclude-list.txt' /home/jocko/ /media/MyPassport/jubuntu_130627/jocko > /home/jocko/rsync_dryrun-130627.txt
exclude-list.txt:
/.gvfs
/Dropbox
run and log:
rsync -avzhP --exclude-from 'exclude-list.txt' /home/jocko/ /media/MyPassport/jubuntu_130627/jocko > /home/jocko/rsync_run-130627.txt
remember:  spaces must be handled properly!
example - if 'My Book' is drive name, then:
/media/My\ Book/
/media/FreeAgent\ GoFlex\ Drive/

No comments:

Post a Comment