Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kyan001/pyrenaming
https://github.com/kyan001/pyrenaming
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/kyan001/pyrenaming
- Owner: kyan001
- License: bsd-3-clause
- Created: 2024-03-07T06:40:38.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-27T07:52:19.000Z (10 months ago)
- Last Synced: 2024-10-18T23:19:27.488Z (3 months ago)
- Language: Python
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# renaming
[CHANGELOG](CHANGELOG.md)[renaming](https://github.com/kyan001/PyRenaming) is a CLI tool to rename files in a directory according to a configuration file.
## Get Started
```sh
pip install renaming # Install renamingrenaming # Rename files in the current directory according to `renaming.toml`.
renaming -c/--config $config_file # Rename files in the current directory according to "$config_file".
renaming -f/--folder $folder # Rename files in "$folder" according to `renaming.toml`.
renaming -d/--dry-run # Dry run. Show what would have been done, but do not actually rename anything.
renaming -y/--yes # Do not ask for confirmation before renaming files.renaming -h/--help # Command-line help message.
renaming -v/--version # Show version information.
```## Installation
```sh
# pip
pip install --user renaming # install renaming
pip install --upgrade renaming # upgrade renaming
pip uninstall renaming # uninstall renaming# pipx
pipx install renaming # install renaming through pipx
pipx upgrade renaming # upgrade renaming through pipx
pipx uninstall renaming # uninstall renaming through pipx
```## Config File
* Config file example: [renaming.toml](renaming.toml)