Skip to content

Organize media into one folder with a date-centric folder structure.

License

Notifications You must be signed in to change notification settings

adamgell/media_organizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Supports organizing JPG (jpeg, jpg, JPEG), HEIC (heic), and PNG (png) image files and their variants.

Lib usage

//Take an image path and return the exif date of the image
pub fn read_creation_date(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 and audio files.

  • Export web assembly binary to use in JS/Node/Electron.

    • Watch out for DEST_FOLDER environment variable.
  • Option to index photos.

  • Option to compress image sizes.

About

Organize media into one folder with a date-centric folder structure.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%