[GRLUG] rsync help

John-Thomas Richards jtr at jrichards.org
Sun Feb 27 16:30:06 EST 2011


On Sun, Feb 27, 2011 at 04:17:14PM -0500, Topher wrote:
> Ok, I have a new machine, and I started copying the home dir from my
> old one to it.  It ran for about 18 hours, copying TONS and then
> dropped the connection.
> 
> Now I need to continue, but I have no idea really what's been done
> and what hasn't.  I'm thinking rsync is what I want to continue the
> transfer, but I've only used it a couple times.
> 
> What command would I use to move all the files from my local dir to
> the remote machine, using rsync so that it doesn't re-transfer all
> the stuff that's already there?

I use:

rsync -avzgtpl -e ssh --delete /home/dir_to_backup/ /new/dir

Remember, the final slash is important with rsync.

`man rsync' to make sure you have the right switches.
-- 
john-thomas
------
I took a speed reading course and read 'War and Peace' in twenty
minutes. It involves Russia.
Woody Allen, author, actor (1935- )

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the grlug mailing list