Function psort::process_jpeg
source · pub fn process_jpeg(
file: &DirEntry,
src: &Path,
dest: &Option<Box<&Path>>,
_move: &bool,
overwrite: &bool
) -> Result<(), Box<dyn Error>>
Expand description
The function that does the actual work
- get the datetime information from the jpeg file
- ensure the necessary folder structure:
/ / / - copy or move the jpeg file there