This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
linux:bash_snippets [2017/06/16 23:00] mstraub [EXIV] |
linux:bash_snippets [2017/09/10 13:04] mstraub [EXIF] |
||
---|---|---|---|
Line 145: | Line 145: | ||
- | ===== EXIV ===== | + | ===== EXIF ===== |
- | === Adjust EXIV information === | + | Exchangeable Image File Format |
+ | |||
+ | === Adjust EXIF information === | ||
<code bash> | <code bash> | ||
Line 154: | Line 156: | ||
exiv2 -a 0:42 image.jpg # add 42 minutes to image timestamp | exiv2 -a 0:42 image.jpg # add 42 minutes to image timestamp | ||
exiv2 -a -1:10 image.jpg # subtract 1 hour 10 minutes from image timestamp | exiv2 -a -1:10 image.jpg # subtract 1 hour 10 minutes from image timestamp | ||
+ | </code> | ||
+ | |||
+ | === Retrieve GPS locations === | ||
+ | |||
+ | <code bash> | ||
+ | exiftool -n -p '$gpslatitude, $gpslongitude, $gpsdatetime' image.jpg | ||
</code> | </code> | ||