Displaying 1 result from an estimated 1 matches for "recursion_level".
2003 Oct 22
1
Feature Request - Recursive Rsync Parameter - Example Script
...oblem:
large rsync operation fails on machines with modest amounts of memory.
Proposal:
Add a parameter to rsync recursive to specify a recursion level (See
example bash wrapper below). (works with recursive file system rsyncs
only, i.e. -a or -r) The logic goes:
if recursion switch true and recursion_level > 0
-rsync this directory only
-call rsync for each subdirectory with a decremented recursion_level and
pass the same switches along
else (recursion_level really is 0)
-perform the full rsync (from this level)
What this does is help break up the job into smaller pieces. Otherwise...