rsync question

R Kimber richardkimber at btinternet.com
Thu Dec 12 20:17:35 UTC 2013


On Thu, 12 Dec 2013 12:06:31 -0600
Preston Hagar wrote:

> rsync is really flexable, but if you are not careful can also do things
> you don't want.  I highly recommend you do a dry run with -n before
> running any new rsync command, just to make sure you aren't going to
> accidentally delete all your remote destination files or something like
> that.

Thanks.  Yes, I did use -n first and it gave a list of the stuff I had
moved or renamed - about 100 folders (out of about 1000) followed by

sent 699330 bytes  received 1434 bytes  51.09 bytes/sec
total size is 268601569959  speedup is 383298.19

The command was
rsync -nav --delete --exclude-from=/home/user/.rsync/excludes [followed by
the two drives]

- Richard.
-- 
Richard Kimber





More information about the ubuntu-users mailing list