Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
photography:exiftool [2017-01-17 22:20] adminphotography:exiftool [2023-10-26 20:04] (current) – external edit 127.0.0.1
Line 26: Line 26:
   * Examples   * Examples
     * Add Picasa People tags as Keywords ((Check Tools>Options>Name Tags>Store name tags in photo in Picasa to ensure recognized people are written in JPG files (as 'XMP:RegionName'-tag))): <code>exiftool "-Keywords+<RegionName" DIR</code>     * Add Picasa People tags as Keywords ((Check Tools>Options>Name Tags>Store name tags in photo in Picasa to ensure recognized people are written in JPG files (as 'XMP:RegionName'-tag))): <code>exiftool "-Keywords+<RegionName" DIR</code>
-    * Add 4 first characters of filename as Keyword (assuming the 4 first characters are the year in which the picture was taken): <code>exiftool "-title<${filename;$_=substr($_,4);s/\..*?$//}"</code>+    * Add 4 first characters of filename as Keyword (assuming the 4 first characters are the year in which the picture was taken): <code>exiftool "-Keywords+<${filename;$_=substr($_,0,4);s/\..*?$//}" DIR</code>
     * Remove duplicate Keywords: ((UniqueKeywords is defined in .ExifTool_config))<code>exiftool "-Keywords<UniqueKeywords" DIR</code>      * Remove duplicate Keywords: ((UniqueKeywords is defined in .ExifTool_config))<code>exiftool "-Keywords<UniqueKeywords" DIR</code> 
 +  * Add ''-v0'' (verbose) as parameter to see processed file