How to add a prefix to the file using the rename?
There are files
image1.jpg
image2.jpg
image3.jpg
image4.jpg
you should get
s-image1.jpg
s-image2.jpg
s-image3.jpg
s-image4.jpg
If you use pyrenamer original name is contained in {1}, but rename this template is not working.
Need ispolzovatj rename it via terminal, as has repeatedly met this challenge.
Thanks in advance for your help.
1 answer
rename 's/image/s-image/' *.jpg
Find more questions by tags Ubuntu