Login
How-To all files in a directory lowercase

Many times I was asked to upload some files to the web server and make a links to them, or something similar... Usually I got those files from people who uses ms word or other programs that save files with first letter Uppercase or the extension in either: JPG Jpg etc. 

That was the real problem to link each of the files and remember what upper or lower case characters are. So to ease up this task I just used a "one liner" command line to convert to lowercase:

Code:
  1. rename 'y/A-Z/a-z/' *
 

Yes thats so simple!
now you have all your file names in the directory in lowercase :)