Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: rename files

by trammell (Priest)
on Aug 08, 2005 at 14:56 UTC ( #481905=note: print w/ replies, xml ) Need Help??


in reply to rename files

Untested, using the command-line 'rename' utility:

% rename 's/(\d)\.gif/$1+398 . ".GIF"/e' *.gif
Update: minor fix to filename suffix.


Comment on Re: rename files
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://481905]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (13)
As of 2014-10-21 16:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (106 votes), past polls