1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 11:33:33 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,10 +3,18 @@
> Read and write meta information in files.
> More information: <https://exiftool.org>.
- 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}}`