2023-04-18
photo tagging #photo
From PowerShell
Go to text →
Mapping SMB to a drive letter
New-SmbMapping z: \\nasj\home
From PowerShell
Go to text →
Print correct accent unicode
[Console]::OutputEncoding=[Text.Encoding]::Unicode
From Exiftool
Go to text →
Delete a keyword
exiftool -IPTC:Keywords-="KeywordToRemove" -overwrite_original input.jpg
Note that ExifTool will create a backup of the original file (with "_original" appended to the filename) if you don't use the -overwrite_original flag. To disable this backup, add -overwrite_original to the command
//give me the list of keywords
exiftool -IPTC:Keywords -s3 input.jpg
//remove the keyword
exiftool -IPTC:Keywords-="Année" -L -overwrite_original *.jpg
- L'option
-s3permet de n'afficher que la valeur des mots-clés, sans le nom de la balise. - L'options
-Lpermet de prendre en compte les caractères latin1 (é, è, à, etc.) pour ici le 'é'. -renables the recursive processing of subdirectories.
From Exiftool
Go to text →
Mass delete keywords
exiftool -IPTC:Keywords-="Année" -L -IPTC:Keywords-="Pays" -IPTC:Keywords-="Evénements" -L -IPTC:Keywords-="Evenement" -IPTC:Keywords-="Personnes" -overwrite_original -r *
-renables the recursive processing of subdirectories.