Closed gdommergue closed 7 months ago
Done. Please try it.
$ brename -p ".*\.jpg" -r "{nr}.jpg" -N --nr-width 3 --start-num 1 -d
Searching for paths to rename...
[OK] 1.jpg -> 001.jpg
[OK] 2.jpg -> 002.jpg
[OK] 3.jpg -> 003.jpg
[OK] 4.jpg -> 004.jpg
[OK] 5.jpg -> 005.jpg
[OK] 6.jpg -> 006.jpg
[OK] 7.jpg -> 007.jpg
[OK] 8.jpg -> 008.jpg
[OK] 9.jpg -> 009.jpg
[OK] 10.jpg -> 010.jpg
[OK] 11.jpg -> 011.jpg
[OK] 12.jpg -> 012.jpg
[OK] 13.jpg -> 013.jpg
[OK] 14.jpg -> 014.jpg
[OK] 15.jpg -> 015.jpg
[OK] 16.jpg -> 016.jpg
[OK] 17.jpg -> 017.jpg
[OK] 18.jpg -> 018.jpg
[OK] 19.jpg -> 019.jpg
[OK] 20.jpg -> 020.jpg
Working as expected on my side, thanks for the quick feedback and update!
Hi, I would like to know if it's possible to rename files using natural sort (-N) + auto increment ({nr})? I've tried the following but it doesn't work as -N seems to work only with -l.
My folder:
Here's the result of the command i've used to list matching files using natural sort in my previous folder.
Thanks!