I need to batch rename 40000 files on a folder with a number count in the end like this:. something.jpg to something_00001.jpg. I\'d like to work with the rename command, but an
Here's a solution using renamer.
$ tree . ├── beach.jpg ├── sky.jpg $ renamer --path-element name --index-format %05d --find /$/ --replace _{{index}} * $ tree . ├── beach_00001.jpg ├── sky_00002.jpg