Read and write meta information in files
|
-d FMT (-dateFormat)
Set the format for date/time tag values. The specifics of the FMT syntax are system dependent --
consult the "strftime" man page on your system for details. The default format is equivalent to
"%Y:%m:%d %H:%M:%S". This option has no effect on date-only or time-only tags and ignores timezone
information if present. Only one -d option may be used per command. The inverse operation (ie. un-
formatting a date/time value) is currently not applied when writing a date/time tag.
|
-D (-decimal)
Show tag ID number in decimal when extracting information.
|
-a (-duplicates) Allow duplicate tags to be extracted
-e (--composite) Do not calculate composite tags
-ee (-extractEmbedded) Extract information from embedded files
-ext EXT (-extension) Process files with specified extension
-F[OFFSET] (-fixBase) Fix the base for maker notes offsets
-fast[NUM] Increase speed for slow devices
-fileOrder [-]TAG Set file processing order
-i DIR (-ignore) Ignore specified directory name
-if EXPR Conditionally process files
-m (-ignoreMinorErrors) Ignore minor errors and warnings
-o OUTFILE (-out) Set output file or directory name
-overwrite_original Overwrite original by renaming tmp file
-overwrite_original_in_place Overwrite original by copying tmp file
-P (-preserve) Preserve date/time of original file
-password PASSWD Password for processing protected files
-q (-quiet) Quiet processing
-r (-recurse) Recursively process subdirectories
-scanForXMP Brute force XMP scan
-u (-unknown) Extract unknown tags
-U (-unknown2) Extract unknown binary tags too
-z (-zip) Read/write compressed information
Special features
|
-t (-tab)
Output a tab-delimited list of description/values (useful for database import). May be combined
with -s to print tag names instead of descriptions, or -S to print tag values only, tab-delimited on
a single line. The -t option may also be used to add tag table information to the -X option output.
|
-e (--composite)
Extract existing tags only -- don't calculate composite tags.
|
-T (-table)
Output tag values in table form. Equivalent to -t -S -q -f.
|
-i DIR (-ignore)
Ignore specified directory name. Use multiple -i options to ignore more than one directory name. A
special DIR value of "SYMLINKS" (case sensitive) may be specified to ignore symbolic links when the
-r option is used.
|
-m (-ignoreMinorErrors)
Ignore minor errors and warnings. This enables writing to files with minor errors and disables some
validation checks which could result in minor warnings. Generally, minor errors/warnings indicate a
problem which usually won't result in loss of metadata if ignored. However, there are exceptions,
so ExifTool leaves it up to you to make the final decision.
|
-r (-recurse)
Recursively process files in subdirectories. Only meaningful if FILE is a directory name. By
default, exiftool will also follow symbolic links to directories if supported by the system, but
this may be disabled with "-i SYMLINKS" (see the -i option for details).
|
-S (-veryShort)
Very short format. The same as -s2 (or two -s options). Tag names are printed instead of
descriptions, and no extra spaces are added to column-align values.
|
-s[NUM] (-short)
Short output format. Prints tag names instead of descriptions. Add NUM or up to 3 -s options for
even shorter formats:
|
-ext EXT, --ext EXT (-extension)
Process only files with (-ext) or without (--ext) a specified extension. There may be multiple -ext
and --ext options. Extensions may begin with a leading '.', and case is not significant. For
example:
exiftool -ext .JPG DIR # process only JPG files
exiftool --ext crw --ext dng DIR # process all but CRW and DNG
exiftool --ext . DIR # ignore if no extension
Using this option has two main advantages over specifying "*.EXT" on the command line: 1) It
applies to files in subdirectories when combined with the -r option. 2) The -ext option is case-
insensitive, which is useful when processing files on case-sensitive filesystems.
|