What am I missing here, this seems so simple yet I cant get it to work.
I have a directory with files like AGPNDRAH01.jpg
I want a directory with files like AGPNDRAH01_00.jpg
rename 's/(\w+).jpg\$1\_00.jpg$//' *
Doesnt, work. Centos linux. Makes no sense to me why this isnt working.