scp and symlinks
Net Llama!
netllama
Sat Nov 20 10:51:32 PST 2004
On 11/20/2004 07:11 AM, Dr. Jones wrote:
> Jorge Almeida wrote:
>
>> On Sat, 20 Nov 2004, Kurt Wall wrote:
>>
>>>
>>> A workaround is to use rsync:
>>>
>>> rsync -r -e ssh path user at host:/path
>>> rsync -r -e ssh user at host:/path path
>>>
>>> -r tells rsync to recurse into directovies. -e ssh specifies the remote
>>> shell (ssh in this case) for rsync to use.
>>>
>> It works great (I added the -l flag).
>> Thank you.
>
>
> Just curious how rsync compares with using scp? I routinely invoke scp
> on my linux box at home to transfer files from work, instead of having
> to find the right zip disk, a la :
>
> scp scott at my.ip.numberat.work:/usr/archive/blah/blah/blah/*
> /home/scott/archive
>
> It seems to work pretty well, and I always have a backup of my data
> files. What interests me about rsync is the "sync" part of the name. I
> would like to set up a better backup and/or transfer routine that will
> just grab all the files newly created or changed on my work machine. Is
> there a way to run either rsync or scp on a batch file, to have it just
> grab the files new or altered on a given day, or even better, just the
> changed portions instead of downloading the entire files?
What Kurt advocated is rsync over ssh, so its kinda like scp using rsync.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
07:50:01 up 82 days, 22:30, 1 user, load average: 1.02, 1.08, 1.08
More information about the Linux-users
mailing list