Rename files to all lowercase letters
On case-preserving but case-insensitive filesystems, renaming like that might not work, as the source and destination paths are the "same".  You may need to rename to an intermediate filename first, using mktemp.