Docu review done: Wed 31 Jul 2024 02:12:42 PM CEST
exiftool
Table of content
General
exiftool allows you to modify the metadata from picutes
Installation
This application can be installed with apt
$ apt install libimage-exiftool-perl
Commands
Commands | Descriptions |
---|---|
--list | lists all metadata from file |
-o OUTFILE (-out) | Set output file or directory name |
-overwrite_original | Overwrite original by renaming tmp file |
-P | Preserve file modification date/time |
-r | Recursively process subdirectories |
-scanForXMP | Brute force XMP scan |
-all= | clears all metadata |
Samples
List metadata about files
$ exiftool --list IMG_20200329_002001.jpg
ExifTool Version Number : 12.00
File Name : IMG_20200329_002001.jpg
Directory : .
File Size : 5.8 MB
File Modification Date/Time : 2020:03:29 00:30:16+01:00
File Access Date/Time : 2020:06:30 11:06:24+02:00
File Inode Change Date/Time : 2020:06:30 11:05:32+02:00
File Permissions : rw-r--r--
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
Image Width : 5472
Image Height : 7296
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)
Image Size : 5472x7296
Megapixels : 39.9
Removes all tabgs from all files found by *.jpg
including subdirs
$ exiftool -r -overwrite_original -P -all= *.jpg