Hello
I have photos from my garden in a directory. photo01.jpg, photo02.jpg ...
photo30.jpg. After deleting photos I don't like, I have photos 01 05 07 08 12
17 22 26 28 29 left. I want to rename them
photo01.jpg
photo05.jpg - photo02.jpg
photo07.jpg - photo03.jpg
photo08.jpg - photo04.jpg
photo12.jpg - photo05.jpg
photo17.jpg - photo06.jpg
photo22.jpg - photo07.jpg
photo26.jpg - photo08.jpg
photo28.jpg - photo09.jpg
photo29.jpg - photo10.jpg
I cannot rename them manually because I have a lot of directories with photos
and I need to do this action for each of them. Those directories were copied
from another computer, right now their path is like
~/Pictures/Photo/d20140402/
...
~/Pictures/Photo/d20150120/
...
~/Pictures/Photo/d20191011/
...
~/Pictures/Photo/d20200525/
...
A lot of directories from many years. Few directories already have photos
with proper names, others don't. I need a script to rename photos in all
those directories. Can you help me?
Thank you!