lk/data/exiftool.md

33 lines
474 B
Markdown
Raw Normal View History

---
title: "exiftool"
2025-02-12 21:50:27 +00:00
tags: [ "metadata", "exifdata" ]
---
2020-01-02 00:04:35 +00:00
2025-02-12 21:50:27 +00:00
Find metadata:
2020-01-02 00:04:35 +00:00
2025-02-12 21:50:27 +00:00
```sh
exiftool "$file".jpg
```
2020-01-02 00:04:35 +00:00
2025-02-12 21:50:27 +00:00
Find info on all `.png` images in current directory.
2020-01-02 00:04:35 +00:00
2025-02-12 21:50:27 +00:00
```sh
exiftool -ext .png .
```
2020-01-02 00:04:35 +00:00
You can make this recurring with the -r switch.
And overwrite all metadata:
2025-02-12 21:50:27 +00:00
```sh
exiftool -all= -overwrite_original -ext jpg .
```
2024-08-13 16:58:50 +00:00
(NB: This does not work on pdf data. See [here](pdf_erasure.md) for erasing all pdf data)
2020-01-02 00:04:35 +00:00
Or just GPS data:
2025-02-12 21:50:27 +00:00
```sh
exiftool -gps:all= *.jpg
```
2020-01-02 00:04:35 +00:00