Easily rename multiple files ending with incrementing numbers.
Project description
multi-rename
A python module for renaming multiple files in a directory to a common format ending in incrementing numbers.
Installation
Install using pip:
pip install multi-rename
Usage
from multi-rename import multi_renamer
multi_renamer('/path/to/dir/here','file_name')
Example
multi_renamer('/home/test_imgs/','newname')
This will make all the files in the directory to be renamed as:
newname1.jpg
newname2.pdf
newname3.png
...
Contributing
If you have any bug fixes / useful feature additions, feel free to fork this repository, make your changes and drop in a pull request.
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
multi-rename-0.0.1.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for multi_rename-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b05643a7c102e77b4fa32648542fb5034a3e97afd8ed3064b3100d40e1a92631 |
|
MD5 | d0e29fc5ba60c154c06b882937a40162 |
|
BLAKE2b-256 | aeb37c21c2dfb80438baf1fb870d1603a7b73ead16fcb0e5556b2a6020816cc7 |