[PATCH] Limit recursion depth

jw schultz jw at pegasys.ws
Tue Jun 24 09:14:59 EST 2003


On Mon, Jun 23, 2003 at 04:09:18PM -0700, jw schultz wrote:
> On Mon, Jun 23, 2003 at 10:06:51PM +0200, Richard Mueller wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Hy folks,
> > 
> > everybody knows, that rsync eats up a lot of memory, when rsyncing
> > a lot of files.
> > 
> > To avoid this i run rsync on different parts of the directory-tree 
> > (e.g. first ~muchofileuser/muchofilesdir1 then 
> > ~muchofileuser/muchofilesdir2 and so on) and it works fine for me.
> > 
> > So i tried to do this in a automatical way (e.g perl/shell/whatever 
> > script) but rsync is missing one feature for that:
> > 
> > Limit the depth of recursion in "recursive"-Mode.
> > 
> > So i wrote this ugly patch, that works-for-me(TM):
> 
> It is easy to limit recursion with exclude patterns like
> /*/*/ or /*/*/*/*/

And by the way; thanks for the effort of comming up with a
patch instead of just whining.

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

		Remember Cernan and Schmitt



More information about the rsync mailing list