Can scp be used to update a directory?

Gene Heskett gene.heskett at verizon.net
Sat Mar 18 17:42:45 UTC 2006


On Saturday 18 March 2006 11:45, Anne Wilson wrote:
>On Saturday 18 March 2006 15:51, Gene Heskett wrote:
>> >Anne
>>
>> rsync can do that, files get copied by a checksum compare, if they
>> are different, than that 64k block is pulled from the src.  If no
>> changes, no update.  New files get a full copy.  But you will need
>> scratchpad space for the biggest file available to do this.  rsync
>> is pretty bulletproof, I've been using it here to make backup dirs
>> of important dirs on other machines on my own LAN for several years
>> now.  I have it as a cron job & it sends me an email every morning
>> showing what it did.
>
>I do a lot of photo-processing and video-processing, which takes up a
> lot of disk space, so I've put a large drive on the remote box and
> want to collect everything together there.  Wouldn't rsync delete
> files on the remote box when I remove them here to make space?
>
>Anne

Let me rephrase that, my other reply is wrong and you are correct.  If 
you want to then save them on the remote end, you should manually move 
them to a directory not in the rsync path, or not use the --delete 
option.

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.




More information about the fedora-list mailing list