Easily rename your files and folders in order
Have you ever needed to rename dozens of files just to get them to look like this... ?
Now you don't have to do that anymore!
pip install pyrenamer
python -m pip install pyrenamer
from pyrenamer import order order()
A window will pop up and ask for a directory where the things to be renamed are located. Without specifying anything inside the order() function, it will rename only files (not folders), starting from 1.
This is the final result:
You can also:
Ignore files/folders that start with some character/word: assign that value to
Rename folders along with files:
Count files and folders separately:
Change the initial count value: set
ito a different value
Do the renaming in non-alphabetical order:
Using some of the above:
from pyrenamer import order order(ignore='Do not', rename_folders=True, independent=True, i=2, reverse=False)
More information is commented inside the code!
- Work in progress
Distributed under the MIT license. See
LICENSE for more information.
- Fork it
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request