


To these, 1 hour will be added if they were created after November 2, 2017, and only to those images. It will modify the time of the images in DIRECTORY-IMAGES. This means that you can modify a series of metadata if it meets a condition, for example: exiftool -alldates+=1 -if '$CreateDate ge "2017:11:02"' DIRECTORIO-IMAGENES To add or modify GPS coordinates to a photograph, we would have to write something like the following: exiftool -exif:gpslatitude="27 33" -exif:gpslatituderef=S -exif:gpslongitude="165 130" -exif:gpslongituderef=E fotografia.jpgĬonditional tagging with the -if option. Next we are going to see some examples to see how to manage the metadata: Another way of seeing more options of the exiftool command will be using the help of man in our operating system. If you want to know more about the tags and groups available to manage them as each one wants, you can obtain more information in this Web page. With these commands we could now manage all the metadata of the images. The following command assigns a value to a TAG in the specified GROUP. This command that follows will remove all the extra metadata associated with the file. The following command will show us all the metadata associated with the image that we indicate. Some of the main commands that the program accepts are the following: Now we can work with it through the console. With this we will have the program installed. We just have to open a terminal (Ctrl + Alt + T) and execute the following command: We can install ExifTool in Ubuntu in a simple way. So we will also have to be careful about the files we share because they can carry information that we do not want to share. As you can appreciate metadata isn't just for images, but can be applied to all types of files.Īlthough these details can be very useful to classify any type of file, they also may contain sensitive information. ĮxifTool supports many different metadata formats including EXIF, GPS, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop IRB, FlashPix, AFCP, and ID3, as well as digital camera image metadata. The information that is housed in the metadata can be of any type, from the name of the company, to the name of the computer, through tags, modification dates, location, etc. These types of image metadata can be in various formats. Such as the camera with which a photograph was taken or the time it was taken. The metadata of the photographs is extra data that is added to the files. It is available as a Perl library and a command line application. It is independent of the platform we use. This is a free and open source program for reading, writing and manipulating image, audio, video and PDF metadata. In the next article we are going to take a look at ExifTool.
