Bash Script for sorting bracketed time lapse photos into folders