[PATCH] --links-depth for rsync

Wayne Davison wayned at samba.org
Fri Jul 16 16:50:32 GMT 2004

On Sat, Jan 24, 2004 at 11:09:46PM +0200, Antti Tapaninen wrote:
> The attached patch gives the user ability to define how many symbolic
> links rsync should follow before actually adding it to the file list.

I was looking at this proposed patch and I had a couple questions:

What is the intended behavior when following symlinks and not reaching a
file before the indicated depth?  Should it transfer the last-found
symlink in the chain?  Or the original symlink?

The patch appears to be unable to handle relative symlinks -- was it
only used with absolute symlinks?

I've checked in an updated patch into the "patches" dir in CVS named
"links-depth.diff".  I think that it works as your original patch did.


More information about the rsync mailing list