[CentOS] replace multiple string
m.roth at 5-cent.us
m.roth at 5-cent.us
Fri Sep 23 20:15:22 UTC 2011
Les Mikesell wrote:
> 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.
Urk! Good catch, Les, I hadn't even *thought* of that.
mark
More information about the CentOS
mailing list