From 8440fea997af209c02d680b21c575b3a8ecf7c85 Mon Sep 17 00:00:00 2001 From: Matt Dutson Date: Wed, 26 Oct 2022 05:47:02 -0500 Subject: [PATCH] exiftool: add print example and image metadata example (#9179) --- pages/common/exiftool.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/common/exiftool.md b/pages/common/exiftool.md index 81f3911355..c21326dd94 100644 --- a/pages/common/exiftool.md +++ b/pages/common/exiftool.md @@ -3,10 +3,18 @@ > Read and write meta information in files. > More information: . +- Print the EXIF metadata for a given file: + +`exiftool {{file}}` + - Remove all EXIF metadata from the given files: `exiftool -All= {{file1 file2 ...}}` +- Remove all EXIF metadata from the given image files, then re-add metadata for color and orientation: + +`exiftool -All= -tagsfromfile @ -colorspacetags -orientation {{image1 image2 ...}}` + - Move the date at which all photos in a directory were taken 1 hour forward: `exiftool "-AllDates+=0:0:0 1:0:0" {{path/to/directory}}`