Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Changing filename extentions

by Fastolfe (Vicar)
on Jul 24, 2002 at 19:59 UTC ( [id://185006]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    rename($_, lc($_)) foreach <*.HTM{,L}>;   # yes, this is portable
    
  2. or download this
    $op = shift or die "Usage: rename expr [files]\n";
    chomp(@ARGV = <STDIN>) unless @ARGV;
    ...
       die if $@;
       rename($was, $_) unless $was eq $_;
    }
    
  3. or download this
    rename '$_ = lc' *.HTM *.HTML
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-04-16 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found