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

Re: rename files

by izut (Chaplain)
on Aug 08, 2005 at 15:12 UTC ( #481909=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $dir = "/temp_gif";
    opendir(DH, $dir) or die $!;
    ...
       $numbers_replace = int($number) + 338;
       rename("$dir/$_", "$dir/$numbers_replace.GIF") or warn $!;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2014-08-29 00:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls