04/20/18 10:12
I had a lot of .jpeg files that I wanted to rename to .jpg. No big deal I thought, just run “mv *.jpeg *.jpg”. Nope, that doesn't work.
According to
Stack Overflow, the way to do this is: “for old in *.jpeg; do mv $old `basename $old .jpeg`.jpg; done”.
Forget that.
I ended up installing and using the ren script
suggested in the same thread. And even that isn't as clean as the old DOS command.
I'm amazed that this is still a thing in 2018.
Related: Code.