An application to remove file and folder in a given directory for a given treshold
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for Removezmedia-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d73d37151e8dfb44472fbfc7c360e7bed94b6b592ed4d739ee324d7218657cd9 |
|
MD5 | cc23fec6a623ce7c902984dd28fd176a |
|
BLAKE2b-256 | de2fafa3f27f50e4a4223cc04250fe24ef9550edf0a183cb196318b417d91398 |