Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 scrutinizing the Monastery: (12)
As of 2014-10-24 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (131 votes), past polls