Skip to main content

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.

Installation

pip install cmn

Usage

cmn -i <input-files> [options]

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

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

cmn-2.0.0.tar.gz (12.1 kB view hashes)

Uploaded Source

Built Distribution

cmn-2.0.0-py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 3

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