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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file multi-rename-0.0.1.tar.gz.

File metadata

  • Download URL: multi-rename-0.0.1.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for multi-rename-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2269fca045443427671cc8616f83764fcca6b37d4cf7063572eeb3fe6c787212
MD5 35f5da116de3b5e549755ef00b2f9b43
BLAKE2b-256 85ad9da98159ae3cc8bddb5a25e65cc2eea22e358b2970e3e2f4969537f086de

See more details on using hashes here.

File details

Details for the file multi_rename-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: multi_rename-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for multi_rename-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b05643a7c102e77b4fa32648542fb5034a3e97afd8ed3064b3100d40e1a92631
MD5 d0e29fc5ba60c154c06b882937a40162
BLAKE2b-256 aeb37c21c2dfb80438baf1fb870d1603a7b73ead16fcb0e5556b2a6020816cc7

See more details on using hashes here.

Supported by

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