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 Distribution

File details

Details for the file media_file_cleaner-0.1.0.macosx-12.5-x86_64.tar.gz.

File metadata

File hashes

Hashes for media_file_cleaner-0.1.0.macosx-12.5-x86_64.tar.gz
Algorithm Hash digest
SHA256 648c3451c4883235bc3abd2167836ccd19c32dfbe6d6fce98b4c5bbf5eabe700
MD5 86a3063ba25caf66c78d5dcc20bbe054
BLAKE2b-256 5de00e807f8942b6bb088ed934c97d001fb5a98d5d6991bfbbc5edcc54ed5cf3

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