Sorry for the question. I searched the internet a lot, but couldn't find an answer which worked (though there were a lot of suggestions).
So, I want to rename A LOT of files. Writing all file names is not an option. The files are named like this:
the beginning is always the same and also the .IMA The long number is not the same for all files. I have to change the 039 into 036_2, for all files. The rest should stay the same.
I tried all of the following commands (plus several others), but it didn't do anything:
cd my_directory rename 's/\w039_2\w/\w036_2\w/g' * rename ?039_2? ?036_2? ?0_39_2?.IMA rename 's/?039_2?/?036_2?/' ?039_2?.IMA rename 's/\w039_2\w/\w036_2\w/' ?039_2?.IMA
Perl is installed at the linux system (but I'm not sure how to call it... because if I open a perl terminal it doesn't do anything).
Can you help me?