DEV Community

Cover image for Rename your files depending on .extension!
Eshleron
Eshleron

Posted on • Updated on

Rename your files depending on .extension!

Useful tool

If you want to rename your dataset samples for ML and you might have a lot of them (you should btw) or maybe you need to set different enumeration for every .extension you have or you just want to rename some personal stuff I am glad you are here.

This is how you can rename your files:

  • For every .extension in the target folder reNamer sets unique enumeration.

alt text

  • Randomly

alt text

  • With your set of parameters. Example, name=FILE, start counting from=10, step=1

alt text

Finally

It is simple application but I hope it would be as useful to someone as it has been useful to me!

If you want .exe?

Download

GitHub logo Eshleron / reNamer

Rename files depending on their extension

reNamer

reNamer lets you rename files depending on their extension.

How it works

reNamer allows you to rename files these ways:

  • For every .extension in the target folder reNamer sets unique enumeration.

alt text

  • Randomly

alt text

  • With your set of parameters. Example, name=FILE, start counting from=10, step=1

alt text

Where can use it?

You can use that as a tool to rename you training dataset files. And simply you have a lot of files and you need the same pattern to rename them.

Prerequisites:

The only dependency that needs to be installed to run it is PyQt5 compatible with Python 3.5.4. All other libraries used in this project are preinstalled in Python.




Top comments (0)