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

Re: Script to rename files



At 12:58 AM +0200 6/4/05, Emmanuel Seyman wrote:
>On Fri, Jun 03, 2005 at 10:19:54AM +0200, Juan L. Pastor wrote:
>>
>> I need a script to rename several files to docXXX.txt where XXX is a
>> number I can define, for example 054, and the following files will be
>> renamed as 055, 056,... Can you help?
>
>rename doc "" doc???.txt
>
>if I understand you correctly.

I don't think you understand.  In his example, the resulting file name
should still contain "doc".  He didn't give an example of an input file
name, so, technically, I don't understand either.  I don't know if the
files are all named "doc.txt" now, or have distinct names such as "alice",
"betty", and "cathy", or what.
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson georgeanelson com>
      '                              <http://www.georgeanelson.com/>


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