Crate psort

source ·
Expand description

psort

A small utility for sorting jpeg files by date.

psort looks up the year and month in which your JPEG files were shot, creates the necessary folder structure and copies or moves your pictures there.

Functions

Returns the exif data of a JPEG file or a possible error
Returns the file handle or possible Error
Returns the desired folder structure <src|dest>/<year>/<month> as path::PathBuf
Returns the file handle if the lowercase extension corresponds to either “jpeg” or “jpg”. Useful in filter_map.
Returns a vector of jepg files in a directory to which the user has permissions
The function that does the actual work