lk/data/exiftool.md
2025-02-12 22:50:27 +01:00

33 lines
474 B
Markdown

---
title: "exiftool"
tags: [ "metadata", "exifdata" ]
---
Find metadata:
```sh
exiftool "$file".jpg
```
Find info on all `.png` images in current directory.
```sh
exiftool -ext .png .
```
You can make this recurring with the -r switch.
And overwrite all metadata:
```sh
exiftool -all= -overwrite_original -ext jpg .
```
(NB: This does not work on pdf data. See [here](pdf_erasure.md) for erasing all pdf data)
Or just GPS data:
```sh
exiftool -gps:all= *.jpg
```