[PATCH] Limit recursion depth
jw schultz
jw at pegasys.ws
Tue Jun 24 09:09:18 EST 2003
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 /*/*/*/*/
--
________________________________________________________________
J.W. Schultz Pegasystems Technologies
email address: jw at pegasys.ws
Remember Cernan and Schmitt
More information about the rsync
mailing list