Changing filenames to lowercase/capital

Changing to ALL lowercase

Say we have tonnes of AVI files:

 for i in *.avi; do mv $i `echo $i |tr [A-Z] [a-z]`;done

Another way around, changing from mixed to CAPITAL

 for i in *.avi; do mv $i `echo $i |tr [a-z] [A-Z]`;done

Comments

Popular posts from this blog

Review Huawei Nova 2i, fon dual-camera terbaik pada harga yang berbaloi

Panduan Bas Ekspres Kuala Lumpur (TBS) - Skudai