If that's the problem, do a post- rather than preorder traversal, or just note the (fully quallified) names of all the directories in a list in the find callback, and then rename them after find finishes.
—John
In reply to Re: Renaming Directories Recursively
by John M. Dlugosz
in thread Renaming Directories Recursively
by blax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |