: Remote rsync question

"Walter Dnes" <waltdnes-SLHPyeZ9y/[email protected]>
Newsgroups gmane.org.user-groups.linux.tolug
Message-ID <[email protected]>
  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/[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.