On my Fedora 35 system neither of the following are working. I have about twenty or so jpg files in a directory, and I wish to add the name of a website to each image after its main title. I am certain that on Linux Mint the rename command worked perfectly, whereas the mmv I downloaded in case there was some problem on Fedora returns a 'no match...Nothing done' error.
mmv '*.jpg' '-new-suffix.jpg'
rename 's/\.jpg/-new-suffix.jpg/g' *jpg
I have checked the permissions on all files - they are 777 - and the directory itself also has 777 permissions.
I was expecting to see a list of files ending in ...-new-suffix.jpg but nothing has been changed with either of these commands.