Skip to content

Instantly share code, notes, and snippets.

@e1himself
Created July 29, 2014 17:53
Show Gist options
  • Save e1himself/181fca6c93b885707456 to your computer and use it in GitHub Desktop.
Save e1himself/181fca6c93b885707456 to your computer and use it in GitHub Desktop.
for file in `ls`; \
mv $file "`exiftool -d '%Y-%m-%d %H.%M.%S' -CreateDate $file | cut -d':' -f2,3,4,5,6,7 | cut -d' ' -f2,3`.jpg"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment