It sounds like you want the semantics of rsync -a. See the rsync man page for instructions on using ssh as the transport, I have done this before and it works wonderfully.
- Eric ----- Original Message ---- From: alan mcclellan <[email protected]> To: Rainer Heilke <rheilke at dragonhearth.com> Cc: docs-discuss at opensolaris.org; Euan Thoms <euan at potensol.com> Sent: Wed, November 11, 2009 9:33:03 AM Subject: Re: [docs-discuss] scp no-clobber option?? Does rsync do what you want (update only the modified files)? -alan Rainer Heilke wrote: > Sorry, I've looked for something like this several times myself, but never > found anything. > > What I tend to do now is scp everything to a new directory, and then mv -i it > to the final spot. Does nothing to conserve disk space or network traffic, > though... > > Rainer > > Euan Thoms wrote: >> Is there an option for no-clobber (does not overwrite existing files) in the >> command scp? "man scp" doesn' t reveal anything. I got one hit in google >> which indicated that there was but perhaps that was the GNU version of scp. > > _______________________________________________ > docs-discuss mailing list > docs-discuss at opensolaris.org _______________________________________________ docs-discuss mailing list docs-discuss at opensolaris.org
