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
Metadata
Release files for batchfilerename 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| batchfilerename-1.0.tar.gz | 16.8 kB | Without provenance | Details for batchfilerename-1.0.tar.gz |
Release files / batchfilerename-1.0.tar.gz
| Download URL | batchfilerename-1.0.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c447cec0b5219c986b3344388e1f1ff9ea329dbef81e8f9162b7fcf765d19561
|
|
BLAKE2b-256 checksum How to use checksums |
717902565d590a47c7892e63c48e901a877159c356eb27a52245eb171a9b8904
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for batchfilerename 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.