rename not working [closed]
There are several versions of the rename command. Use rename --version
to determine which you have, they use different syntax.
$ rename --version
/usr/bin/rename using File::Rename version 0.20
$ rename 's/\.jpeg$/.jpg/' *
$ rename --version
rename from util-linux 2.30.2
$ rename .jpeg .jpg *