Skip to main content

An application to remove file and folder in a given directory for a given treshold

Project description

Use case

https://img.shields.io/travis/Hatoris/RemoveMedia.svg

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 :

  1. Generated a config file
    1. By generating a default one and edit the config file by yourself

    2. Follow cli instruction to generate the config file

  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Removezmedia-0.0.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Removezmedia-0.0.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file Removezmedia-0.0.1.tar.gz.

File metadata

  • Download URL: Removezmedia-0.0.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for Removezmedia-0.0.1.tar.gz
Algorithm Hash digest
SHA256 16554854f68c3cb8aaafe5af1499bd2c06a80b7dbccb899e7115aea58212139e
MD5 14c363e0f290f7b33e4f17f6e75c82a1
BLAKE2b-256 420a554dbbbdcd90cf08a7614cbbaf74348775c24e1d758581dc9fdf47575100

See more details on using hashes here.

File details

Details for the file Removezmedia-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: Removezmedia-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for Removezmedia-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d73d37151e8dfb44472fbfc7c360e7bed94b6b592ed4d739ee324d7218657cd9
MD5 cc23fec6a623ce7c902984dd28fd176a
BLAKE2b-256 de2fafa3f27f50e4a4223cc04250fe24ef9550edf0a183cb196318b417d91398

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page