If you’ve ever needed to rename multiple files which had a different file extension then this is what you need
- Open the terminal.
- Change directory to the parent directory of folder1 using the
- Run this command to rename all files with .JPG extension to .jpg.
find . -type f -name '*.JPG' -print0 | xargs -0 rename 's/\.JPG/\.jpg/'
Try it out on some test files first in a test folder and once happy crack on with the parent.