rapidvef.blogg.se

Exiftool ubuntu
Exiftool ubuntu




  1. #Exiftool ubuntu how to
  2. #Exiftool ubuntu mp4
  3. #Exiftool ubuntu install

Images that contain Exif metadata may reveal when and where a photo was taken and with what device, among other things. While this is usually a desirable feature, it can also be a privacy concern if the images are going to be shared or published online.

#Exiftool ubuntu how to

In this guide, we’ll see how to remove EXIF data from JPG, JPEG, PNG, and other image files from the Linux command line. There are quite a few tools available that can remove Exif data, but one we’ve found to work very well is ExifTool. This program can strip Exif metadata without recompressing the image, so there’s no loss in quality. There are a variety of options that can be used with the program, such as exporting a new version of the image (without the Exif data) or simply resaving the image in-place.

exiftool ubuntu

We’ll show you all the most useful commands below.

#Exiftool ubuntu install

Ubuntu, Debian, and Linux Mint: $ sudo apt install libimage-exiftool-perlįedora, AlmaLinux, CentOS, and RHEL: $ sudo dnf install perl-Image-ExifToolĪrch Linux and Manjaro: $ sudo pacman -S perl-image-exiftool You can download this program from the ExifTool website or use the appropriate command below to install it with your system’s package manager.

exiftool ubuntu

Once ExifTool has been installed, use some of the example commands below in order to remove Exif data. These commands assume that you’ve already changed directories to where your images files are saved.ġ.

  • /mnt/drive/folder is the absolute path to the top folder holding all the images to be renamed (your path will be different, of course).View all the metadata for an image file by using the following command.
  • Firebox or WatchGuard XTM device installed with Fireware.
  • -r means execute this command recursively for every image file in the top “source” folder (that is, the folder where all the files to be renamed are located), and also for the image files in all the source folder’s subfolders, sub-subfolders, and so on. Syslog logging output from the WatchGuard Firebox is unencrypted.
  • To rename all image files in the source folder, don’t specify any extensions.

    #Exiftool ubuntu mp4

    -ext jpg -ext mp4 means only rename files with the “jpg” or “mp4” extension.%%le means keep the original file name extension, but make it lower-case if it was originally upper-case, a nice option if the cameras uses “ JPG” instead of “jpg”. Metadata is read from source files and printed in readable form to the console (or written to output text files with -w ). FILE is one or more source file names, directory names, or '-' for the standard input. The “-” before the “c” isn’t really necessary, but it puts a dash before the copy number. DESCRIPTION A command-line interface to Image::ExifTool, used for reading and writing meta information in a variety of file types. %%-c means that if two images have the same file name up to this point in the naming process, add “ a copy number which is automatically incremented” to give each image a unique name.This ensures a mostly unique filename, the next option will ensure it. Images with EXIF data reveal all the details about a photo such as where and when was it taken as well as with what device, amongst a host of many other things. %H%M%S means add the hour, minute, and second of the creation time, all represented by two digits.The underscore **_** means put in an underscore after the date part of the file name. Test the tool with a test file present in the repository cd exiftool. %Y%m%d_ means the first part of the new file name should be composed of the four digit creation-date year, followed by the two digit month month and day, both represented by two digits.%Y%m%d_%H%M%S%%-c.%%le, used in conjunction with “ -d” specifies the format to use for the date and time when renaming the file.-d means “ Set format for date/time values”.‘-filenameExiftool '-filename




    Exiftool ubuntu