symlinks?

Dan Stromberg strombrg at nis.acs.uci.edu
Tue Apr 23 09:19:02 EST 2002


--force appears to take care of this.

On Mon, Apr 22, 2002 at 06:23:08PM -0700, Dan Stromberg wrote:
> I'm trying to switch to using rsync for updating a huge software library
> containing binaries, text files, symlinks, and so on.  We've been using
> something homegrown which I'm not that happy with - it's a perl script
> that systems cp and chmod and such.
> 
> The problem I'm seeing is:
> 
> target computer:
> 	directories ctime-5 and ctime-5b3 are distinct directories
> 
> source computer:
> 	ctime-5 is a symlink that points at ctime-5b3
> 
> When I do:
> 	/export/home/dcslib/rsync -abvx rsync://okazaki.acs.uci.edu/sun4-5 .
> 
> I unfortunately get:
> 	delete_file: rmdir(packages/ctime-5.0) : File exists
> 	rsync: symlink "packages/ctime-5.0" -> "ctime-5.0b3": File exists
> 	rsync error: partial transfer (code 23) at main.c(883)
> 
> Is there a reasonably simple way around this?
> 
> TIA.
> 
> -- 
> Dan Stromberg                                               UCI/NACS/DCS
> 
> -- 
> To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
> 

-- 
Dan Stromberg                                               UCI/NACS/DCS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20020423/ed2b25a2/attachment.bin


More information about the rsync mailing list