PlexWasher/README.md

43 lines
1.2 KiB
Markdown

# PlexWasher
A simple command line to remove media from plex
## Getting Started
### Dependencies
* python3.10 or newer
### Installing
* Download source code 'plexwasher.py' and 'config.exemple.ini' files in the same folder
```
git clone https://github.com/HewlettPackard/PacketRusher # or download the ZIP from https://github.com/HewlettPackard/PacketRusher/archive/refs/heads/master.zip and upload it to your Linux server
```
* Rename 'config.exemple.ini' to 'config.ini' and modify it to set the correct informations
### Executing program
* CMD description:
```
usage: plexwasher.py [-h] [-v] [-g] [-d] [-o OUTPUT]
options:
-h, --help show this help message and exit
-v, --verbose Print lots of debugging statements
-g, --get Get the list of files to delete and stores the list in a file
-d, --delete Read a file listing unwanted files, delete the unwanted files and its parent folders if empty.
-o OUTPUT, --output OUTPUT
Change the default output file.
```
* Exemple:
```
./plexwasher.py --get
```
## License
This project is licensed under the Apache-2.0 License - see the LICENSE file for details