1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

exiv2: add page (#4093)

This commit is contained in:
jn64 2020-06-22 04:11:09 +08:00 committed by GitHub
parent 533c409465
commit a6057cadb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

28
pages/common/exiv2.md Normal file
View file

@ -0,0 +1,28 @@
# exiv2
> Image metadata manipulation tool.
> More information: <https://www.exiv2.org/manpage.html>.
- Print a summary of the image Exif metadata:
`exiv2 {{path/to/file}}`
- Print all metadata (Exif, IPTC, XMP) with interpreted values:
`exiv2 -P kt {{path/to/file}}`
- Print all metadata with raw values:
`exiv2 -P kv {{path/to/file}}`
- Delete all metadata from an image:
`exiv2 -d a {{path/to/file}}`
- Delete all metadata, preserving the file timestamp:
`exiv2 -d a -k {{path/to/file}}`
- Rename the file, prepending the date and time from metadata (not from the file timestamp):
`exiv2 -r {{'%Y%m%d_%H%M%S_:basename:'}} {{path/to/file}}`