photo_organizer

Crates.iophoto_organizer
lib.rsphoto_organizer
version0.3.0
sourcesrc
created_at2021-05-18 19:19:04.052537
updated_at2021-05-19 17:25:44.652078
descriptionOrganize photos in one folder into date-centric folder structure.
homepagehttps://github.com/andrewgremlich/photo-organizer
repositoryhttps://github.com/andrewgremlich/photo-organizer
max_upload_size
id399102
size12,850
Andrew Gremlich (andrewgremlich)

documentation

https://github.com/andrewgremlich/photo-organizer/blob/master/readme.md

README

Photo Organizer

Need an organizer for your photos on the computer? Run this!

CLI usage

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

Lib usage

//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)

Features

  • Organize photos in a folder structure based off of EXIF dates.

    • User provides target folder of images to be organized. Will move photos to a 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.

    • Use the --dest flag.

Future development

  • Organize videos.
  • Export web assembly binary to use in JS/Node/Electron.
  • Index photos.
  • Compress image sizes.
Commit count: 18

cargo fmt