Crates.io | photo_organizer |
lib.rs | photo_organizer |
version | 0.3.0 |
source | src |
created_at | 2021-05-18 19:19:04.052537 |
updated_at | 2021-05-19 17:25:44.652078 |
description | Organize photos in one folder into date-centric folder structure. |
homepage | https://github.com/andrewgremlich/photo-organizer |
repository | https://github.com/andrewgremlich/photo-organizer |
max_upload_size | |
id | 399102 |
size | 12,850 |
Need an organizer for your photos on the computer? Run this!
To quickly organize photos in the test-photos
folder, run the follow command to output them into the default photos
directory.
photo_organizer --target test-photos
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
//Take an image path and return the exif date of the image
pub fn read_exif_date_data(image_path_str: &str) -> String
//organize photos in a folder.
//will require environment variable `DEST_FOLDER`
pub fn make_photo_library(photos_dir_str: &str)
Organize photos in a folder structure based off of EXIF dates.
photos
directory in the directory where the binary was ran. The outputed folders will be the respective dates EXIF data pulled from the photo.Allow configurable destination folder.
--dest
flag.