Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seblemaguer/pdf-rename
Automatize renaming of pdf files based on meta-data
https://github.com/seblemaguer/pdf-rename
Last synced: 3 days ago
JSON representation
Automatize renaming of pdf files based on meta-data
- Host: GitHub
- URL: https://github.com/seblemaguer/pdf-rename
- Owner: seblemaguer
- Created: 2019-08-14T16:13:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-22T08:49:52.000Z (5 months ago)
- Last Synced: 2024-08-22T10:03:42.769Z (5 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PDF rename files
Rename files to be more homogeneous using the meta-data or the google scholar information
## Installation
Just install and activate the conda environment:
```sh
conda env create -f environment.yaml
conda activate pdf-rename
```## Run
The command is the following:
```sh
usage: pdf-rename.py [-h] [-f FAILED_DIR] [-l LOG_FILE] [-r] [-v]
input output_dirpositional arguments:
input pdf file or directory containing the pdf files to be
renamed
output_dir Output directory which will contain the renamed filesoptional arguments:
-h, --help show this help message and exit
-f FAILED_DIR, --failed-dir FAILED_DIR
Directory to store all the files which have been
failed to be renamed
-l LOG_FILE, --log_file LOG_FILE
Logger file
-r, --recursive recursive list all pdf!
-v, --verbosity increase output verbosity
```