Skip to main content

ExifTool quick commands

exiftool -a -u foto.jpg | grep -i "gps\|date\|camera"
# strip before publishing
exiftool -all= foto_sanitizada.jpg

Complete suite

ToolFile TypeURLPlatform
ExifToolImages, PDF, Officehttps://exiftool.orgCLI
FOCAOffice, PDF (GUI)https://github.com/ElevenPaths/FOCAWindows
MetagoofilPublic documentshttps://github.com/laramies/metagoofilCLI
MAT2Metadata cleanerhttps://0xacab.org/jvoisin/mat2CLI

Metadata workflow

1

Extract metadata

exiftool -a -u -g1 document.pdf > metadata.txt
2

Search sensitive info

grep -i "author\|creator\|email\|gps" metadata.txt
3

Clean before publishing

mat2 --inplace clean_document.pdf

Build docs developers (and LLMs) love