Skip to content

Instantly share code, notes, and snippets.

@narate
Created December 17, 2014 11:00
Show Gist options
  • Save narate/f679c2995ae614b2003c to your computer and use it in GitHub Desktop.
Save narate/f679c2995ae614b2003c to your computer and use it in GitHub Desktop.
Show EXIF of image using $ identify -format %[exif:*] /path/to/image/file
#!/bin/bash
if [ $# -eq 0 ]; then
echo "Usage : $ exif /path/to/file"
exit
fi
echo "EXIF of `basename $1`"
identify -format %[exif:*] $1
@narate
Copy link
Author

narate commented Dec 17, 2014

Or you can use
$ ./exif 'https://example.com/pub/hello.jpg'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment