Skip to content

Instantly share code, notes, and snippets.

@jsvine
Last active December 21, 2015 09:49
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 jsvine/6287421 to your computer and use it in GitHub Desktop.
Save jsvine/6287421 to your computer and use it in GitHub Desktop.
A ~/.bashrc one-liner I use almost daily. Provided the URL of an image, fetches the image's EXIF data.
exif () { curl -s "$1" | exiftool - ; }
###
#
# Add the line above to your ~/.bashrc file.
#
# Requires Phil Harvey's ExifTool: http://www.sno.phy.queensu.ca/~phil/exiftool/
#
# Usage example, for Aug. 20th's en.wikipedia.org featured picture:
#
# exif "http://upload.wikimedia.org/wikipedia/commons/1/16/Ficedula_mugimaki_-_Khao_Yai.jpg"
#
###
@kdodia
Copy link

kdodia commented Aug 13, 2014

Urgh, now I know what I was supposed to do with that image...

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