Remote rsync question

Walter Dnes waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Wed May 7 19:27:39 UTC 2014


  The goal is to copy most of my home directory to another machine.  In
this case machine "aa1" (Acer Aspire One) over ssh.  Is the following
format correct?
 
#!/bin/bash
cd /home/waltdnes/
rm /home/waltdnes/rsync_log.txt /home/waltdnes/rserrors*.txt
rsync --archive --links --group --itemize-changes --owner \
      --perms --progress --recursive --size-only --stats --verbose \
      --exclude-from=/home/waltdnes/.rsexclude \
      --log-file=/home/waltdnes/rsync_log.txt \
      /home/waltdnes/ aa1:/home/waltdnes/ 2>/root/rserrors1.txt

.rsexclude would have entries like...
/home/waltdnes/camera

-- 
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
I don't run "desktop environments"; I run useful applications
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list