2023-06-17 19:28:20 +00:00
|
|
|
---
|
|
|
|
title: "exiftool"
|
|
|
|
tags: [ "Documentation", "Metadata" ]
|
|
|
|
---
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Find metadata.
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
exiftool image.jpg
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Find info on all images in current directory.
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
exiftool -ext .png .
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
You can make this recurring with the -r switch.
|
|
|
|
|
|
|
|
And overwrite all metadata:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
exiftool -all= -overwrite_original -ext jpg .
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Or just GPS data:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
exiftool -gps:all= *.jpg
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
You can also use the imagemagick tool:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
identify -verbose
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
|