Skip to main content

Batch file renaming utility

Project description

This is a simple batch file renaming utility written in pure Python. You can install with:

pip install batchfilename

Install from github:

pip install -e git+https://github.com/dmnfarrell/batchfilename.git#egg=batchfilename

How to use

Run using the command batchfilename. A window with two panes will appear. Select the folder where the files are to be renamed. On the left the files will be listed and on the right a preview of the renamed files is shown (without full path for ease of viewing). You can then select the symbols to find and replace with, which will be applied to all files. Filter the files to be renamed if needed, *.* means all files. Always use ‘preview’ first to check the results before executing as some file name changes might not be reversible. Though you should be able to reverse the last run using the undo button.

Other features

  • The ‘occurences’ option allows you to only replace a specific number of instances of a symbol in the name.

  • Undo the previous renaming step (assuming you have not quit the program)

  • Recursively load a folder

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

batchfilerename-1.0.tar.gz (16.8 kB view details)

Uploaded Source

File details

Details for the file batchfilerename-1.0.tar.gz.

File metadata

  • Download URL: batchfilerename-1.0.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for batchfilerename-1.0.tar.gz
Algorithm Hash digest
SHA256 c447cec0b5219c986b3344388e1f1ff9ea329dbef81e8f9162b7fcf765d19561
MD5 f603fb5e13d0fb0df0be2ab62dce4409
BLAKE2b-256 717902565d590a47c7892e63c48e901a877159c356eb27a52245eb171a9b8904

See more details on using hashes here.

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