Re: Automate UPPER to lower case directory
On Tue, 20 Oct 1998, Anthony Landreneau wrote:
: Greetings,
: Trying to automate work done by some WIN95/NT people who don't understand
: upper/lower case. I have a directory of files that are upper case and need
: to be brought to lower case. Does anyones have a program or script that
: could help me do about 400 files?
I'm sure my script won't be the prettiest one, but here it is:
for file in `echo [A-Z]*`; do mv $file `echo $file | tr A-Z a-z`; done
--
Nathan Norman
MidcoNet 410 South Phillips Avenue Sioux Falls, SD
mailto:finn@midco.net http://www.midco.net
finger finn@home.midco.net for PGP Key: (0xA33B86E9)
Reply to: