[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1743515325887744.png (273 KB, 470x446)
273 KB
273 KB PNG
>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
>>
>>107018006
mac does this correctly
>>
>>107018006
>>107018410
Just use little endian:

1.jpg
2.jpg
3.jpg
...
8.jpg
9.jpg
01.jpg
11.jpg
21.jpg
...
>>
>>107018410
>have to go back and rename all the older files
>for pic in {00..99}.jpg; do mv "$pic" "0$pic"; done
wow so hard
>>
>>107018006
>1.jpg
>11.jpg
>111.jpg
>1111.jpg
>11111.jpg
ez
>>
>6.jpg
>7.jpg
>>
ren is your friend
>>
File: file.png (170 KB, 414x402)
170 KB
170 KB PNG
>>107018006
aaa.mp3
bbb.mp3
the ccc.mp3
ddd.mp3
>>
>>107018410
just use Bulk Rename Utility
>>
File: 1761514966663832.png (165 KB, 630x640)
165 KB
165 KB PNG
>>107018006
>00000000000000000001.jpg
>00000000000000000002.jpg
>00000000000000000003.jpg
>00000000000000000004.jpg
>00000000000000000005.jpg
im future-proofed
>>
>>107018006
it 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.jpg

simple as.
>>
File: limmy.jpg (81 KB, 853x480)
81 KB
81 KB JPG
>.jpg.webp
>>
ls -ltr
>>
>>107022251
I do this with JXL because JXL lets you reconstruct the original JPG.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.