On Fri, Sep 23, 2011 at 1:21 PM, <m.roth at 5-cent.us> wrote: >>> I realized another question: are you trying to rename files? >>> >> yes files and directories too .. >> > Then different commands - sed for the files, mv for the directories. > > This begins to look like a perl script. > Either way, it's probably a bad idea to have a script that renames directories in mid-path while you are recursing the tree without giving it some thought. -- Les Mikesell lesmikesell at gmail.com