[PATCH] --links-depth for rsync

jw schultz jw at pegasys.ws
Sun Feb 1 23:17:49 GMT 2004


On Sat, Jan 24, 2004 at 11:09:46PM +0200, Antti Tapaninen wrote:
> 
> Hello,
> 
> about a year ago I ran into situation where there's a "metadirectory"
> containing directories and symlinks to files. There was a need to mirror
> the contents of files and directories gathered via symlinks to this
> metadirectory, regular mirroring of the tree wouldn't do any good.
> 
> The attached patch gives the user ability to define how many symbolic
> links rsync should follow before actually adding it to the file list.
> 
> Any code behaviour without the new parameter is unchanged, I've used the
> previous versions of the patch with rsync 2.5.x for the last year and
> might just as well share the patch. Consider merging the patch for the
> next release, please reply to me directly for additional feedback or
> issues.
> 
> Cheers,
> -Antti

Thanks for updating the patch for those who might have need
of it.  I don't anticipate committing this at this time.

flist.c is in flux and 1.169 is in the midst of that so you
might want to rediff against rsync 2.6.1 when that is
released.


-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt


More information about the rsync mailing list