🖥️exiftool

➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the exiftool command with important options and switches using examples.

▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁

#                ███████╗██╗  ██╗██╗███████╗████████╗ ██████╗  ██████╗ ██╗     
#                ██╔════╝╚██╗██╔╝██║██╔════╝╚══██╔══╝██╔═══██╗██╔═══██╗██║     
#                █████╗   ╚███╔╝ ██║█████╗     ██║   ██║   ██║██║   ██║██║     
#                ██╔══╝   ██╔██╗ ██║██╔══╝     ██║   ██║   ██║██║   ██║██║     
#                ███████╗██╔╝ ██╗██║██║        ██║   ╚██████╔╝╚██████╔╝███████╗
#                ╚══════╝╚═╝  ╚═╝╚═╝╚═╝        ╚═╝    ╚═════╝  ╚═════╝ ╚══════╝
                                                                              
                                                                              
                                                                           
#==============================#
# CMD exiftool
#==============================##==============================#

exiftool -all= foo.jpg
# Remove all exif metadata from a photo. 

exiftool <(curl -s apod.nasa\.gov/apod/image/1605/NGC5078-LRGBhager2048.jpg) |grep Software
# See what software was used for an image. #tbt

exiftool -v '-Directory<DateTimeOriginal' -d %Y .
# Move photos with EXIF data to directories by year created/taken. Be verbose.

exiftool -alldates="1964:06:01 12:00:00"
# setzt alle verfügbaren Datumsangaben einer Datei auf 1. Juni 1964 um 12 Uhr

# Remove all the exif metadata tags from photo.jpg to improve privacy before uploading.
exiftool -all= photo.jpg

# copy rated photos to separate folder  https://linux.die.net/man/1/exiftool 
exiftool -P -if '$Rating eq 5' -out ./_Best_of/ * 

exiftool -a -b -W %d%f_%t%-c.%s -preview:all YourFileOrDirectory
# Extract thumbnails from EXIF metadata -> It will generate a new file ending with "_ThumbnailImage.jpg" which is the embedded thumbnail inside the JPG for example.

exiftool -v '-Directory<DateTimeOriginal' -d %Y . 
# Move photos with EXIF data to directories by year created/taken. Be verbose.

# Use CreationDate metadata on .mov files to rename and modify the created/modify file dates on Mac
exiftool '-MDItemFSCreationDate<CreationDate' '-FileModifyDate<CreationDate' '-filename<CreationDate' -d %Y-%m-%d_%H-%M-%S%%+c.%%le . -ext mov

#==============================##==============================#
# CMD exiftool
#==============================##==============================#
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░