Forrest logo
back to the exiv2 tool

exiv2:tldr:88bad

exiv2: Delete all metadata, preserving the file timestamp.
$ exiv2 -d a -k ${filename}
try on your machine

The command you posted is as follows:

exiv2 -d a -k ${filename}

Explanation:

  1. exiv2: It is a command-line utility used for managing and manipulating Exif metadata in various image file formats.

  2. -d a: This option is used to set the format for displaying dates and times in the output. Here, "a" represents the abbreviated format.

  3. -k: This option is used to "keep" the file after modifying it. It ensures that the original file is not deleted or overwritten.

  4. ${filename}: It is a placeholder for the actual filename. You would replace "${filename}" with the actual name of the file you want to perform operations on.

Overall, the command instructs the exiv2 utility to display the Exif metadata, with dates and times formatted in an abbreviated manner, for the specified file, without modifying or deleting the original file.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the exiv2 tool