Skip to content

Instantly share code, notes, and snippets.

@gut5
Created December 20, 2017 19:29
Show Gist options
  • Save gut5/82d3cf4915eea2ae02d99900915bd90a to your computer and use it in GitHub Desktop.
Save gut5/82d3cf4915eea2ae02d99900915bd90a to your computer and use it in GitHub Desktop.
Add timestamp to photos using Imagemagick
for img in *jpg; do convert "$img" -gravity SouthWest -pointsize 200 \
-fill red -annotate +30+30 %[exif:DateTime] "time_""$img";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment