Skip to content

Instantly share code, notes, and snippets.

@ptsneves
Created December 19, 2016 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ptsneves/aca7daa48b2d2a36d6ea0e70646258f3 to your computer and use it in GitHub Desktop.
Save ptsneves/aca7daa48b2d2a36d6ea0e70646258f3 to your computer and use it in GitHub Desktop.
Generate exif date
JPEG_FILE=./sample.jpeg for i in {1..10}; do exif ${JPEG_FILE} -t 0x0132 .jpg --ifd=1 --set-value="$(date +"%Y:%m:%d %H:%M:%S")" -o ./${i}.jpeg && sleep 1 done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment