Menu
- About
- Ham Radio
- NL SwapShop
- NL SOTA Association
- 3D Models
- Linux
- Raspberry Pi
- Windows
- Software
- Photo Gallery
- Contact
- Search
Convert Files Upper Case To Lower Case
I find that my digital camera always converts all filenames to upper case even the extension which is a huge pain for me since most files in linux are lower case, and having to type filenames in uppercase can be quite a pain. So I developed a little shell script to convert all filenames in a directory to lower case.
Create a file of any name and in that file insert the following
Once you have the file saved, make it executable either using graphical tools or from a console
chmod +x filename.sh the .sh extension tells the graphical enviroment that its a shell script
Copy this file into any directory with any files in it. Double click the script file and select from the options that come up run in terminal. The script should then convert all files in the directory the file is in to lower case. Or you can just run the script from a terminal by typing
./filename.sh