Re: replace multiple string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Sep 23, 2011 at 1:21 PM,  <m.roth@xxxxxxxxx> 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@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux