Files (photos) are named numerically, but some are with 'a' & 'b' appended to indicate front & back of same photo.
I want to renumber them sequentially, but again the 'a's and 'b's use the (new) number twice.e.g. currently:
0822.jpg
0822a.jpg
0823.jpg
- All files have leading zeros i.e. four digits in the number.
- Occasionally files have text after the number, this always following an underscore e.g.
1234_text_added_here
=> there should be no spaces (I can ensure this if necessary by first replacing space with underscore)
As said I want to renumber them sequentially, but again the 'a's and 'b's use the same (new) number e.g.
the above list would become0001
0001a
0002
I would also like to be able to indicate the starting number to use.
I am using directory opus which allows regex (of which I know absolutely nothing).
Dopus's wildcard rename allows sequential renumbering, but I lose the 1a 1b (they would simply become 1a, 2b, etc.
[edit] I dont think dopus wildcard rename can cope with stripping the number & adding a new one -- I would use a different renamer, but I have sorted the files manually in Dopus -- so I'm left with the regex option or one of the scripts mentioned in next post -- at this stage I dont care about losing the 1, 1a, -- simple sequential renumbering would be fine
[/edit]TIA,