Skip to main content

Cleans a directory of media files.

Project description

Media file cleaner

Description

  • removes empty files
  • removes weird characters from filenames and makes them underscores
  • converts videos without sound to gifs

Help

usage: main.py [-h] [-r ROOT] [--dry-run] [--one] [--no-delete] [-d] [--always-convert] [-i [IGNORE_PATHS ...]]

Performs 3 things: removes empty files, removes weird characters from filenames and makes them underscores, converts videos without sound to gifs.

options:
  -h, --help            show this help message and exit
  -r ROOT, --root ROOT  directory to work on, default is current working directory
  --dry-run             no actions to take place
  --one                 only one conversion to take place
  --no-delete           not to delete the video after the conversion
  -d, --delete-ask      ask to delete every time after conversion
  --always-convert      to convert all videos to gifs
  -i [IGNORE_PATHS ...], --ignore-paths [IGNORE_PATHS ...]
                        paths to ignore

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

media_file_cleaner-0.2.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file media_file_cleaner-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for media_file_cleaner-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b50f6a8735d060aab7f454275313bcf4513b4235a2250b2f23243beed4c16bd8
MD5 c9333bba63c5301475bc7f3d3a15805c
BLAKE2b-256 6faf4df81ebe7af1b291ad9662269f9bb3ad40584236d8ac2c20ba506c42a6ce

See more details on using hashes here.

Supported by

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