Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

33
exiv2 Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`