I know this question has been asked (and answered) before, but it seems my situation is unique, because I cannot have any of the solution to work.
Running, I need to rename all my photos from *.JPG
to *.jpg
.
Let's say I don't need recursive, just all the pictures in the same folder.
The problem I meet is this one:
mv: ‘P1010521.JPG’ and ‘p1010521.jpg’ are the same file
Same problem using rename, with that kind of command:
rename 's/\.JPG$/.jpg/' *.JPG
P1020558.JPG not renamed: P1020558.jpg already exists
ext4
...