[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: copying files from home directory on one machine to directory on another machine



On Sun, Nov 29, 2009 at 09:28:18AM +0200, Alexander Kaphuk wrote:
> Andrew M.A. Cater wrote:
> >On Sat, Nov 28, 2009 at 09:42:23PM +0200, Alexander Kaphuk wrote:
> >>G'day,
[snip]

> >cd myfiles
> >
> >rsync -pavz --delete . 192.168.1.2:/home/alex/myfiles/

can I suggest to look at the S & H options sparse files and hardlinks as
well, can save some transferrin time

> >
> >
> >[Copies from the current directory . to the distant directory].
> >
> >-pavz - preserves permissions, archive, verbose, will try to compress files in transit if appropriate
> >
> >
> >If you don't have rsync, you can use scp -r to recursively copy almost identically - but the nice thing about
> >rsync is that it will restart cleanly, deleting partially copied
> >files and preserves an internal manifest of which files are up to
> >date. If your 100GB is subject to change in mid transfer, rsync
> >will copy only the files which have changed and catch up.
> >
> >Hope this helps,
> >
> >All the best,
> >
> >Andy
> >
> >
> >
> >
> >
> >
> Thanks a lot for your input and the usage examples!
> 
> I've never done anything like that, so I'm open to any suggestions
> and am willing to give every piece of advice I am given a try.
> 
> 

-- 
union, n.:
	A dues-paying club workers wield to strike management.

Attachment: signature.asc
Description: Digital signature


Reply to: