Skip to main content

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

MIT

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)

Uploaded Source

Built Distribution

multi_rename-0.0.1-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page