benjisimon

Copy images by date

Dec 19th, 2010
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.16 KB | None | 0 0
  1. for f in *.JPG; do cp -v $f `identify.exe -format "%[exif:DateTimeOriginal]" $f  | sed 's/ .*//' | awk -F: '{printf "../../Belize/Belize_Day_%d\n",$3-9}'`; done
Add Comment
Please, Sign In to add comment