I have a list of images grouped numerically (
YI20479.png). I want them sorted alphabetically, like so:
YI0.png -> YIA.png YI1.png -> YIAA.png
without my last image having 20479
As in it.
A directory name.
All files in that directory will be alphabetically renamed.
- The pattern is always
- There are no subdirectories
- All files in the directory adhere to the pattern
Numberstarts at 0
Prefixdoesn't contain numbers
Directory consisting of
Pie1.txt, all the way to
Pie11.txt would be renamed to
PieB.txt, all the way to
If it goes to
Pie28.txt, they would be renamed like so:
Pie0.txt -> PieA.txt Pie1.txt -> PieAA.txt Pie2.txt -> PieAB.txt Pie3.txt -> PieB.txt Pie28.txt -> PieZ.txt
Remember, this is code-golf, so the answer in the shortest bytes wins.