![]() ![]() 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 future to update the tool, users have to simply run the system update command and if a new version is available through the system repository of Ubuntu, it will be installed.In the next article we are going to take a look at ExifTool. We have just given a few basic examples, for more options or parameters to use with ExifTool, you can see the official website of this tool. ![]() You can add multiple keywords by specifying the -keywords+= option multiple times. exiftool -keywords+=landscape -keywords+=nature image.jpg Then the command will be like something below. For example, you want to add two keywords landscape and nature to an image.jpg. If you want to add a keyword to an image then that is possible as well. exiftool -r -overwrite_original -all= directory/ Adding keywords to images: The -r option makes ExifTool process files recursively, and the -overwrite_original option makes ExifTool overwrite the original files with the modified files. This command will remove all metadata from all files in the directory and its subdirectories. exiftool -tagsfromfile track.log -geotag image.jpg Batch processing files: The track.log file must be in GPX format. This command will geotag image.jpg using GPS data from track.log. For example: exiftool -Filesize -MIMEType -BitDepth image.jpg Geotagging images: You just have to specify multiple tags separated by spaces. If you want to see some specific metadata then you can do that as well. exiftool -TagsFromFile source.jpg target.jpg Extracting specific metadata from a file: You can specify multiple source files separated by spaces. This command will copy all the metadata from source.jpg to target.jpg. Copying metadata from one file to another Even, you can specify individual tags to remove by replacing -all= with the tag name, for example: -artist= -copyright=. In the screenshot, you will see it has removed the Artist name and other metadata. The given command will remove all the Metadata information except the protected ones. This Exiftool command will set the artist metadata to “ LinuxH2s” in the image file. To edit metadata in an image file, type: exiftool -Artist="LinuxH2s" image.jpg To view metadata from an image file, type: exiftool image.jpg Exiftool command to edit metadata Note: Change the Image.jpg with your Image or media file name. Run ExifTool commandsĪs you have completed the installation, you can edit the metadata right from your Ubuntu Terminal. Here are some examples of ExifTool commands to follow: It will download and install all the required packages. Therefore, in your command terminal, you just need to run the given command. Installing ExifTool on Ubuntu 22.04 or 20.04ĮxifTool is available through the system repository of Ubuntu and other its based Linux distros including Debian and Linux Mint. Let’s start with the system update because apart from updating system-installed packages, it also rebuilds the APT package indexed cache so that it can recognize the latest available package updates. Ubuntu users can also use the keyboard shortcut which is Ctrl+Alt+T. Go to the Application area or simply click on the Activities taskbar link to search for the terminal app. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |