Use case
This script is attented to be use on server, as cli, to remove file older than a given differential. More specificly, to remove media on server with small capacity (FreeNAS/FreeBSD).
For this reason, scrpt can refresh plex instance and send you notification via pushbullet.
Instalation
pip install RemoveMedia
git clone
Basic usage
You have two choice to use this application :
- Generated a config file
By generating a default one and edit the config file by yourself
Follow cli instruction to generate the config file
Pass your paremters directly
Generated config file
1. Generating default
Open your shell and run the following command
python RemoveMedia generate MyFirstConfig.ini -default=True
This command will generate a empty config file inside the package :
~/RemoveMedia/configuration/config
The generating default config file will look like this
Release files for Removezmedia 0.0.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 | |
|---|---|---|---|
| Removezmedia-0.0.1.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Removezmedia-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.4 kB
Release files / Removezmedia-0.0.1.tar.gz
| Download URL | Removezmedia-0.0.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
16554854f68c3cb8aaafe5af1499bd2c06a80b7dbccb899e7115aea58212139e
|
|
BLAKE2b-256 checksum How to use checksums |
420a554dbbbdcd90cf08a7614cbbaf74348775c24e1d758581dc9fdf47575100
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0
|
Release files / Removezmedia-0.0.1-py3-none-any.whl
| Download URL | Removezmedia-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d73d37151e8dfb44472fbfc7c360e7bed94b6b592ed4d739ee324d7218657cd9
|
|
BLAKE2b-256 checksum How to use checksums |
de2fafa3f27f50e4a4223cc04250fe24ef9550edf0a183cb196318b417d91398
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0
|