kimlew / bash-sort-images

Script that sorts photo files into year & month subdirectories, and if needed, day
0 stars 0 forks source link

Bash script to sort image files

Name: sort_images.sh

Gives user prompts, e.g.,

Or lets user enter 2 command-line arguments, e.g.,

./sort_images.sh '/Users/kimlew/Sites/bash_projects/bash-sort-images' 'Y'

Note: If ANY command-line arguments have spaces, you MUST put in single-quotes!