4 releases
0.3.0 | May 19, 2021 |
---|---|
0.2.2 | May 18, 2021 |
0.2.1 | May 18, 2021 |
0.2.0 | May 18, 2021 |
#10 in #organizer
8KB
128 lines
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.
- User provides target folder of images to be organized. Will move photos to a
-
Allow configurable destination folder.
- Use the
--dest
flag.
- Use the
Future development
- Organize videos.
- Export web assembly binary to use in JS/Node/Electron.
- Index photos.
- Compress image sizes.
Dependencies
~1MB
~12K SLoC