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
Release history Release notifications | RSS feed
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
File details
Details for the file media_file_cleaner-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: media_file_cleaner-0.1.3-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54e97d874fc7e151337b6bf50ccf6cfda0fa302c040bacab1f643d013cde5589 |
|
MD5 | a712320dbc13256c8c1e5473aef83653 |
|
BLAKE2b-256 | b0f68026f238d1bea3b36cfa2f22cb7bf28c06b44f13875f8711e7207faae741 |