
- #Exiftool command install
- #Exiftool command manual
- #Exiftool command full
- #Exiftool command download
- #Exiftool command mac
If you want the metadata to be visible in Window’s file properties stick to common tags such as Title, Authors, and Copyright.įull XMP DC elements are not commonly read. Note, although there are lots of possible ways to embed metadata, not many are actually readable to commonly used applications. Multiple tags can be written simply by adding more flags, exiftool -Title="New title" -XMP-dc:Source="Uni, Uni Archives, Wonderful Collection" test.jpg.exiftool -XMP-dc:Source="Uni, Uni Archives, Wonderful Collection" test.jpg will add XMP Dublin Core metadata.exiftool -all= test.jpg will delete all current metadata except the most basic technical EXIF.exiftool -Title= test.jpg will delete the current EXIF title, i.e.exiftool -Title="New title value" test.jpg will delete the current EXIF title and replace it with “New title value”.
#Exiftool command full
Thus to add/change that one metadata value, the full command would be:Įxiftool -XMP-dc:Source="Example source" test.jpg. To write a specific tag, include the tag argument followed by a = and value.įor example, to build up the command flag we want to add XMP metadata ( -XMP), from Dublin Core namespace ( -dc), in the tag Source ( :ProjectionType), with the value of “Example source” ( ="Example source"). Writing metadata follows the same pattern as reading, but adds a value to the Tag. Namespaces are added to the group name, for example, -XMP-dc:Source. The tag names are prefixed with the group name, for example, -XMP:Description or -IPTC:Source. Note, some tags are part of a larger “group”, such as IPTC or XMP, and may have a “namespace”. To read a specific tag, include it as an argument.įor example, exiftool -Make test.jpg will output the EXIF metadata for camera/scanner make.Ī batch of GPS tags can be extracted using:Įxiftool -gpslatitude -gpslongitude -csv *.jpg > locations.csv To find the notation explore the Tag Names index. Metadata elements are given a “Tag Name” (and machine readable “Tag ID”) that ExifTool can take as a commandline argument by adding - in front. Tags correspond to embedded metadata elements and are used to read or write specific values.

-T outputs the data as a tab delimited table: exiftool -T test.jpg > table.txt.-v, the Verbose Option adds more technical detail to the output: exiftool -v test.jpg.Options typically change the tool’s output. However, Exiftool has batch options built in, so you could replace the filename with a selector such as *.jpg to read multiple images.įrom there add Options and/or Tags to the command. The most basic command is to read all metadata for an image:
#Exiftool command manual
Type exiftool to printout the full manual page. To use ExifTool, start with the command exiftool, add some options, and the file name of an image.
#Exiftool command install
install ExifTool as the Perl library, e.g.ExifTool will be available on CMD and GitBash. Alternatively, you can copy exiftool.exe into a directory on the Window’s PATH, i.e.ExifTool will only be available on Git Bash, but this install method does not require admin access and I would suggest only using Git Bash with it anyway. In your Git Bash root, copy exiftool.exe into the bin folder (see my note on adding stuff to Git Bash for more detail). If you use Git Bash, find your Git Bash root directory by typing cd / then pwd -W.Inside you will find a file named exiftool(-k).exe.

#Exiftool command download
Download the “stand-alone Windows Executable” from the ExifTool page (this will be a.
#Exiftool command mac
InstallĮxifTool is a Perl library and commandline tool.Ĭheck the install docs for full information, but basically on Windows use the “stand-alone executable”, Mac use the “MacOS package”, and on Linux use your distro repository. can also read/write metadata on many other file formats such as PDF, videos, music, and documents). To read, write, and manipulate metadata embedded in image files you need ExifTool (p.s.
