Re: [expert] upper to lower case in directory?

2002-03-03 Thread Michael Holt
Yesterday... Tom Badran ran for the door shrieking: >Search for chcase on freshmeat.net :) Thanks Tom! That did the trick! Mike -- Michael & Tracy Holt Kirkland, WA[EMAIL PROTECTED] www.holt-tech.net [EMAIL PROTECTED]

Re: [expert] upper to lower case in directory?

2002-03-03 Thread Michael Holt
Yesterday... Dwaine Felch ran for the door shrieking: >Try making the changes below and if that helps. > >#!/usr/bin/perl >while (<@ARGV>) >{ > $x = $_; > tr/A-Z/a-z/; > system("mv","$x","$_"); >} Thank you Dwaine! I actually did have it typed correctly on the system wh

Re: [expert] upper to lower case in directory?

2002-03-02 Thread Tom Badran
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 02 Mar 2002 8:07 pm, you wrote: >The ways I've found all seem to include the > tr command however and it seems to choke on spaces (which I have in my > filenames in my mp3 directory). Could someone tell me how to get around > this? Sear

Re: [expert] upper to lower case in directory?

2002-03-02 Thread Dwaine Felch
Try making the changes below and if that helps. #!/usr/bin/perl while (<@ARGV>) { $x = $_; tr/A-Z/a-z/; system("mv","$x","$_"); } Michael Holt wrote: >Hello all! > I've got a directory of mp3's which I stream from my server on an >internal lan. I've reco

[expert] upper to lower case in directory?

2002-03-02 Thread Michael Holt
Hello all! I've got a directory of mp3's which I stream from my server on an internal lan. I've recorded a great deal of them from my own cd's but some have come from kazaa, etc... I would like to be able to convert the entire directory from upper to lower case, and I have found a few