Bash: Rename all files in current directory to lowercase
Just some code i used to rename my holiday pictures to lowercase.
find lists all files in current directory. -type f lists only files, not directorys.
The while loop iterates over the file list.
echo | tr makes the filename variable lowercase.
mv finally moves the file.
Thanks to Veikko for the maxdepth hint.






