![]() To install ExifTool on Ubuntu, Debian or Linux Mint: $ sudo apt-get install libimage-exiftool-perl No other library or software is required. Install ExifTool on LinuxĮxifTool requires Perl 5.004 or later. In this tutorial, I will describe how to view or edit metadata in PDF documents or digital pictures from the command line on Linux with ExifTool. It is available on Linux, Windows or MacOS X. ![]() ExifTool is a powerful command-line utility that can read or write meta information in a file. Unless you want to strip off the metadata from images or documents for your privacy, there are various tools that allow you to selectively edit the metadata in digital photos or PDF documents. PDF documents also have its own set of metadata associated with them to identify author, title, date, etc. The metadata is automatically written by digital cameras, or manually added by photographers or photo editing software, to show various properties (e.g., creator, camera info, location) of a particular picture. Typical digital images or photos have a rich set of metadata embedded in them. How to view or edit PDF/image metadata from command line on Linux # Directory where the photos should be moved to See exiftool Common Mistake #3.Īfter the installation of wsl with powershell command wsl -install Exiftool has very powerful batch abilities, so running it in a loop is almost never needed. See exiftool FAQ #27.Įxiftool's startup time is its biggest performance hit and using it in a loop, calling it once for each file, can increase the processing time substantially. If this command is used in a Windows BAT file, then all percent signs must be doubled. "-Filename ![]() This reformats the value of the DateTimeOriginal tag to match the desired directory structure. ![]() I had a look at several websites with EXIFTOOLS-command-examples, but I cannot figure out the correct command options.Įxiftool -r -o. Where 'yyyymmdd' should be taken from EXIF:DateTimeOriginal. To achieve this I want to copy all the files under 'D:\source' to 'P:\source_2': P: The new folder-structure should reside on an usb-drive with the drive-letter 'P'. I want to bring the files to an order, based on the EXIF-creation-timestamp of the files. The libraries will be fixed in a second step. I still have to keep this original structure for a while, because some of my picture-libraries point on these files, so just moving them is no option. This moved some pictures, shot at the end of a month, to the next month, but not always. It seems that the transfer-routine, that copied the files from the SD-card to HDD did not always use the EXIF-creation-timestamp but the transfer-date to write the file-timestamp. The folder-structure of my photos looks like this: D:Ĭurrently the foldername 'yyyymmdd' seems to match the timestamp of the file, not its creation-timestamp.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |