>1.jpg>10.jpg>11.jpg>12.jpg>13.jpg>2.jpg>3.jpg>4.jpg
Skill Issue
Robust implementation
I just shit my pants
>01.jpg>02.jpg>03.jpg>...>99.jpg>add 100.jpg>have to go back and rename all the older files
>>107018006mac does this correctly
>>107018006>>107018410Just use little endian:1.jpg2.jpg3.jpg...8.jpg9.jpg01.jpg11.jpg21.jpg...
>>107018410>have to go back and rename all the older files>for pic in {00..99}.jpg; do mv "$pic" "0$pic"; donewow so hard
>>107018006>1.jpg>11.jpg>111.jpg>1111.jpg>11111.jpgez
>6.jpg>7.jpg
ren is your friend
>>107018006aaa.mp3bbb.mp3the ccc.mp3ddd.mp3
>>107018410just use Bulk Rename Utility
>>107018006>00000000000000000001.jpg>00000000000000000002.jpg>00000000000000000003.jpg>00000000000000000004.jpg>00000000000000000005.jpgim future-proofed
>>107018006it makes sense, filenames are texts, not numbers>a.jpg>ab.jpg>ac.jpg>ad.jpg>b.jpg>c.jpg>d.jpg
>>107018006>fa07433f-e8c3-4ab2-b31b-a1d9a4086194.jpg>9dc95fc3-eecb-430d-a3ca-29fdbab7c8b8.jpg>b17d9078-1a50-45d5-8d60-37a083fa4e55.jpg>3a604903-20ec-4a65-aee5-3124f96d03ac.jpg>2e36bfc2-1e75-4c0a-825c-6aee8764baad.jpgsimple as.
>.jpg.webp
ls -ltr
>>107022251I do this with JXL because JXL lets you reconstruct the original JPG.