However, a filename may be specified or the -ext option may be used to force processing of files with any extension.īelow is a list of file types and meta information formats currently supported by ExifTool (r = read, w = write, c = create): Note: If FILE is a directory name then only supported file types in the directory are processed, or only writable types are processed Mode, exiftool will ignore any read-specific options. (Be sure to verify that the new files are OK before erasing the originals.) Once in write With "_original" appended to their names. This causes each FILE to be rewritten, and by default the original files are preserved To write or copy information, new tag values are specified with the - TAG = syntax or the To the console (or written to output text files with -w). Information is read from the source files and output in readable form One or more source file names, directory names, or "-" for the standard input. All modern digital cameras (including the one on your phone) record EXIF data when capturing an image.Exiftool FILEĮxiftool | d| x] ]įor specific examples, see the EXAMPLES sections below.Ī command-line interface to Image::ExifTool, used for reading and writing meta information in image, audio and video files. The information recorded in EXIF is shutter speed, date and time, aperture, ISO, and even GPS coordinates. This information can be used to organize photographs, search for specific photos, create a map of where a photo was taken, and much more. The acronym EXIF stands for Exchangeable Image File Format. In this tutorial we are going to discuss using exiftool to view and edit EXIF data on the Linux command line.st command line tool I have found. Let's go over how to install the exiftool on your system. Installing Exiftool with Your Package Manager If you already have it installed, you can skip to " Viewing EXIF Data" or " Editing EXIF Data". Most Linux distros have the Perl ExifTool package available in the repositories. This is by far the easiest (and safest) way to install exiftool. Below you will find how to install it on your favorite flavor of Linux. NOTE: For CentOs/Red Hat you will have to install and enable the epel repository. Refer to " How to Install PERL Modules with CPAN" for more information about installing and using CPAN for Perl Modules.Īfter you installed CPAN (2 minutes) you should be at a CPAN prompt (if not just type cpan at the shell prompt to start): cpan> Perl comes installed by default and all you have to do is install a small Perl program via CPAN. Type the following command: install Image::ExifTool Now all you need to do to view the EXIF data is call the exiftool program followed by the image name like so. Extracting Specific Information from EXIF ]$ exiftool girls.jpgįile Modification Date/Time : 2012:09:01 23:03:01-04:00Įxif Byte Order : Little-endian (Intel, II) Here we are viewing the EXIF data from a file named girls.jpg. You can also use the program to get ONLY certain information. You can use switches to pull only the information you need like so: ]$ exiftool -T -Filename -Aperture *.jpg For example, let’s say you have multiple jpegs and you want to know which aperture you used for each image. You can easily list the common EXIF information using -common like so: ]$ exiftool -common Thanksgiving_2018.jpgįlash : On, Fired List All Available Tags from EXIF NOTE: using the -T option hides the name of the tag.
0 Comments
Leave a Reply. |