Last active
December 21, 2015 09:49
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
# | |
### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Urgh, now I know what I was supposed to do with that image...