Rename files from uppercase to lowercase in bash

Written by
Date: 2013-02-15 22:11:13 00:00


Usually songs and pictures have their names in uppercase if you are on a Unix like system, you know that A is not the same as a. So it is better to have file names in lowercase.

If you want to convert your file names from uppercase to lowercase you can use this command:

for i in *; do mv $i `echo $i | tr [:upper:] [:lower:]`; done

That is it.