Rename Beep File
This script is useful to rename all files inside a folder.
Indeed it replaces all the instances of a target string (target) in the base name of each file with the character specified (char).
The default values are:
- target =
+ - char =
(space character)
It is a very simple tool but very useful when directly downloading zip files from folders from the Beep site. But its usage can be extended.
Instructions
Install the script.
pip install rename-beep-files
Use it in the terminal
rename-beep-file
You may include several options:
- recursive
- target
- char
- folder path
$ rename-beep-files -h
usage: rename-beep-files [-h] [-r] [-t TARGET] [-c CHAR] [paths [paths ...]]
Process renames all the file into the target directory.
positional arguments:
paths Specify all the folders in which execute the renaming
optional arguments:
-h, --help show this help message and exit
-r, --recursive Execute the rename action recursively into all
subdirectories of targeted folder
-t TARGET, --target TARGET
Specify the character to replace
-c CHAR, --char CHAR Specify the character with which you want to replace
Metadata
Release files for rename-beep-files 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rename-beep-files-2.1.1.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rename_beep_files-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / rename-beep-files-2.1.1.tar.gz
| Download URL | rename-beep-files-2.1.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5bf47ba6d74d6d592366de830ab1c46eda8cb5e411ed240e31d9a35cddbe043
|
|
BLAKE2b-256 checksum How to use checksums |
070beaaec6c471fa7f38ed29432f5bee03b72627c03cb735b335867278e56562
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4
|
Release files / rename_beep_files-2.1.1-py3-none-any.whl
| Download URL | rename_beep_files-2.1.1-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c04f5fa97a97c4a66af34fa44f88e4cd1a836fc64dd5afe2fce2b88d52a556a
|
|
BLAKE2b-256 checksum How to use checksums |
ec06291d928e08afd2957ff05d2065b4c27f9389db10ea53cb8be054e80b131b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4
|