exiftool: add print example and image metadata example (#9179)

This commit is contained in:
Matt Dutson
2022-10-26 05:47:02 -05:00
committed by GitHub
parent 4e62cae99f
commit 8440fea997

View File

@@ -3,10 +3,18 @@
> Read and write meta information in files. > Read and write meta information in files.
> More information: <https://exiftool.org>. > More information: <https://exiftool.org>.
- Print the EXIF metadata for a given file:
`exiftool {{file}}`
- Remove all EXIF metadata from the given files: - Remove all EXIF metadata from the given files:
`exiftool -All= {{file1 file2 ...}}` `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: - 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}}` `exiftool "-AllDates+=0:0:0 1:0:0" {{path/to/directory}}`