Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 chanting in the Monastery: (7)
As of 2014-09-16 20:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (46 votes), past polls