Nathan E Norman wrote: > 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
Anthony should also note that, if these files are created on a Samba share, that there is a Samba option to have these files auto-converted as they are created. -Mitch
pgpl6jNQ5LuBg.pgp
Description: PGP signature