Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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: (7)
As of 2015-03-30 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (660 votes), past polls