I am planning to have this in 2 stages first -type f    then  -type d

pons

On Fri, Sep 23, 2011 at 11:15 PM,  <m.r...@5-cent.us> wrote:
> Les Mikesell wrote:
>> On Fri, Sep 23, 2011 at 1:21 PM,  <m.r...@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
>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to