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/04/05 15:42] mstraub [GIS] |
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 156: | Line 158: | ||
</code> | </code> | ||
- | === Rename file according to EXIV timestamp === | + | === Retrieve GPS locations === |
<code bash> | <code bash> | ||
- | renrot -n %Y-%m-%d_%H-%M-%S image.jpg | + | exiftool -n -p '$gpslatitude, $gpslongitude, $gpsdatetime' image.jpg |
</code> | </code> | ||
+ | === Rename file according to EXIV timestamp === | ||
+ | Simple rename: | ||
+ | <code> | ||
+ | exiftool '-FileName<CreateDate' -d '%Y-%m-%d_%H-%M-%S%%-c.%%le' image.jpg | ||
+ | </code> | ||
+ | |||
+ | Rename and rotate: | ||
+ | <code bash> | ||
+ | renrot -n %Y-%m-%d_%H-%M-%S image.jpg | ||
+ | </code> | ||
===== PDF ===== | ===== PDF ===== | ||