cp(1) -n option for rsync?

Sander van Zoest sander at yahoo-inc.com
Fri Dec 6 23:25:01 EST 2002


On Fri, Dec 06, 2002 at 01:11:10PM -0800, Wayne Davison wrote:
> On Fri, Dec 06, 2002 at 11:53:08AM -0800, Sander van Zoest wrote:
> > I would like to be able to use rsync to mirror some directories, but
> > to explicitly *not* override any files that already exist on the other
> > side.
> I believe you're looking for the --ignore-existing option.  I'm not sure
> when it got added, but it's in 2.5.5 at least (and not in 2.4.6).

Yeah, that is exactly what I was looking for. I was looking at
2.5.0, so I didn't see it. I upgraded to the latest version and found
it.

Thanks for the pointer!

-- 
Sander van Zoest                                          +1 (619) 881-3000
Yahoo!, Inc.                                           sander at yahoo-inc.com
<http://www.yahoo.com/>                       <http://sander.vanzoest.com/>



More information about the rsync mailing list