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

RemoveMedia-0.0.3.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

RemoveMedia-0.0.3-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file RemoveMedia-0.0.3.tar.gz.

File metadata

  • Download URL: RemoveMedia-0.0.3.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0

File hashes

Hashes for RemoveMedia-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f4a9ef7ff2d3cc2b38c0f75e33631062ed4bd9e37c5cf5f94d73fdeaa8879885
MD5 d0c8586dbb50fef3c8a3ffd3adc0da09
BLAKE2b-256 5841c72d425cefb937eb99eb5df63b8f4aea7b4aaf5304ad1c45b0fd1b4ecdcc

See more details on using hashes here.

File details

Details for the file RemoveMedia-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: RemoveMedia-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0

File hashes

Hashes for RemoveMedia-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f34f31af781b0840c1b3bd62349d630a60d68e3b4b5d0924e2474601004caa21
MD5 836e3d9e135dfc3aeda0437f7f35eca5
BLAKE2b-256 492820b5dffd28c7c16c0ff6b8f824c4cb47d3822377417a79682e77917aef77

See more details on using hashes here.

Supported by

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