Script to rename files

Emmanuel Seyman seyman at wanadoo.fr
Fri Jun 3 22:58:43 UTC 2005


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.

Emmanuel




More information about the users mailing list