On Wed, Feb 27, 2013 at 6:33 PM, unix_fan <unix_...@yahoo.com> wrote: > My additional $0.02 on rsync use: > 1. Use the -n flag first > If you are an rsync neophyte, I strongly recommend using the -n flag first, > to see what it would do without actually doing it. As in, > rsync -nav SOURCE DESTINATION > > when you are satisfied that it will do what you expect, simply up-arrow and > remove the "-n" > To this day, I still do this approach, especially so if I include the > --delete flag.
Even easier: the -n will work at the end of the command so you can up arrow, ctrl-w and take it out easily to have the command run. ie; rsync -av /home/jbroome othermachine:/backupdir/ -n (I'm going to give -i a try, but "rsync -av" is muscle memory now. :) ) _______________________________________________ Tech mailing list Tech@lists.lopsa.org https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/