DEPRECATED for Media Organizer.
Need an organizer for your media content on the computer? Run this!
Organize photos and videos in a folder structure based off creation dates.
photos
directory in the directory where the binary was ran. The outputed folders will be the respective creation dates on the media.Allow configurable destination folder.
--dest
flag.To quickly organize photos in the target folder, run the following command to output them into the default destination directory.
photo_organizer --target test-media
To add a destination folder for all the organized photos, add the --dest <DEST_FOLDER>
flag to the end.
While developing with cargo, forward the flags.
cargo run -- --target test-photos
Supports organizing JPG (jpeg, jpg, JPEG), HEIC (heic), and PNG (png) image files and their variants.
// Take an image path and return the exif date of the image
pub fn read_photo_creation_date(path_str: &str) -> String
// Take a video path and return the FFMPEG creatioon date.
pub fn read_video_creation_date(path_str: &str) -> String
// Sort all the supported media files in a directory.
// Note: will default folder "photos"
pub fn sorter(dir_str: &str)
Make a multi-media organizer binary.
Organize single file entry through cli.
through CLI organize specific media files.
Organize audio files? https://github.com/pdeljanov/Symphonia
Export web assembly binary to use in JS/Node/Electron.
DEST_FOLDER
environment variable.Option to index photos.
Option to compress image sizes.