pacmanでインストール
$ sudo pacman -S perl-image-exiftool
exif表示
$ exiftool /home/hige/Downloads/IMG_20200531_101741.jpg
ExifTool Version Number : 11.85
File Name : IMG_20200531_101741.jpg
Directory : /home/hige/Downloads
File Size : 4.0 MB
・
・
・
exif情報を削除
# 削除前 カメラはPixel 3aで撮った写真らしい
exiftool IMG_20200531_124137.jpg | grep Camera
Camera Model Name : Pixel 3a
# Camera Model Nameを消してみる。タグはmodelらしい exiftool IMG_20200520_124137.jpg -model=
Warning: [minor] Maker notes could not be parsed - IMG_20200520_124137.jpg
1 image files updated
# Warning出ているけど、どうもうまくいったぽい
exiftool IMG_20200520_124137.jpg | grep Camera
# 何も表示されないので消されたと思う
# 全部消すには-all を指定 exiftool IMG_20200520_124137.jpg -all=
1 image files updated
$ exiftool IMG_20200520_124137.jpg
ExifTool Version Number : 11.85
File Name : IMG_20200520_124137.jpg
Directory : .
File Size : 3.8 MB
File Modification Date/Time : 2020:06:25 14:26:29+09:00
File Access Date/Time : 2020:06:25 14:26:30+09:00
File Inode Change Date/Time : 2020:06:25 14:26:29+09:00
File Permissions : rw-r--r--
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
Image Width : 4032
Image Height : 3024
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 : 4032x3024
Megapixels : 12.2
# 少し残っているっぽいが重要そうな情報は消えているみたい。
参考:
https://exiftool.org/forum/index.php?topic=1803.0
Comments