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.2.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

RemoveMedia-0.0.2-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: RemoveMedia-0.0.2.tar.gz
  • Upload date:
  • Size: 8.0 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 RemoveMedia-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4b14c56b5a4449c0bc9cb061e7d686cf6917304321227ad10b72ddfecb2ab52d
MD5 46bcfdac29098f0eec7038fcb6d25d1a
BLAKE2b-256 189a5255519c2b3a7a3a2e5ede7ba712af36cc8c1e50e072f3597f5e90516a0c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: RemoveMedia-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.8 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 RemoveMedia-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a4fd3b1075d79852ece36a74b837690b5e3daac6a6fa589b04eb4fc5034bc564
MD5 8e9156f2b3efc2ec69ae761c02dc8ccc
BLAKE2b-256 a97bd9162d75d9e7111dfb72d2d13276a497d2b5d8cf71e5b051936c0ceb96c7

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