Main - Module responsible for the main program. Parses the arguments and calls the other modules.
Project description
ChangeMediaName
Tool that changes media files to its creation date.
Usage
python3 ChangeMediaName.py -i <paths>
Options
Option 1 | Option 2 | Description |
---|---|---|
h | help | Show this help message and exit |
i | input-files | Required. File(s) or folder(s) to scan |
v | verbose | Default: False . Verbose mode |
r | recursive | Default: False . Scan folders recursively |
ni | ignored-paths | Default: None . Files or folders to be ignored |
nr | not-ignore-subfolders | Default: True . Choose to not ignore subfolders of the ignored paths |
t | file-types | Default: None . List of file types to consider |
nt | not-file-types | Default: None . List of file types to ignore |
of | only-images | Default: False . Consider only images |
ov | only-videos | Default: False . Consider only videos |
cf | create-new-folders | Default: False . Create new folders according to the new image names |
fn | name-format | Default:%Y%m%d_%H%M%S Format of the new names |
ff | name-folder-format | Default:%Y - %m - %d . Format of the new folder names |
Supported file types
Type | Extension | Name |
---|---|---|
Image | HEIC | High Efficiency Image File Format |
Image | JPEG | Joint Photographic Experts Group File Format |
Image | JPG | Joint Photographic Group File Format |
Image | PNG | Portable Network Graphics File Format |
Image | WEBP | WebP Image File Format |
Video | AVI | Audio Video Interleave |
Video | AVI | Audio Video Interleave |
Video | MP4 | MPEG-4 Part 14 |
Requirements
- Install
exiftool
command from https://exiftool.org/. Credits to Phil Harvey.
Made by me :)
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 Distribution
cmn-1.9.0.tar.gz
(11.2 kB
view details)
Built Distribution
cmn-1.9.0-py3-none-any.whl
(8.0 kB
view details)
File details
Details for the file cmn-1.9.0.tar.gz
.
File metadata
- Download URL: cmn-1.9.0.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c1f24ff7b1b0e4e626ff0659a61a7e4e3af7eda64712286e13e01f121718442 |
|
MD5 | 87d8f9ed820e607423a2491d42965a6c |
|
BLAKE2b-256 | eb6f86d7f8118544806e5314b04f0c74eab427f1a18141d3d9406c3518718aa1 |
File details
Details for the file cmn-1.9.0-py3-none-any.whl
.
File metadata
- Download URL: cmn-1.9.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd345f536ccbd173111d7e4004e178ecd5d2d7a9fc6d2feef5c84d741be9bc3e |
|
MD5 | 5e8cf63026aee7a44eca051ec2efe6f5 |
|
BLAKE2b-256 | f245e3234a72b4b045212e6fe17414bb26a645488753b24ac006dd36eadd06a2 |