Originally Posted by mmahulo
Please help me in converting lower case filenames to uppercase.
The following is what I've attempted and it seems not to work:
cd /home/temp # going into the temp directory where the files are located
for file in *.file
tr [:lower:] [:upper:]
In the line highlighted above, you don't send any data to tr, and you don't do anything with the output. (zoran gives an example that shows one way to do it.)
One trick in writing scripts is to first test each individual command to be sure you know what it does.