Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-15 13:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found