Microsoft Windows Batch script that performs recursive scanning ( within a folder structure ) for files containing XMP-Photoshop:DocumentAncestors
metadata greater than 100 values. Script includes logging , customizable email notifications , as well as the capability for predetermined scheduling ( via the Microsoft Windows Task Scheduler ).
- ExifTool - https://exiftool.org/install.html
- Blat ( 64bit ) - https://www.blat.net
-
Ancestors_Scan.cmd
exiftoollocation
=C:\Windows
- ExifTool installation location.
blatlocation
=C:\Program Files\Blat
- Blat installation location.
scanfolder
=D:\ASSETS
- Folder location containing files to be scanned.
scanlogfolder
=D:\Ancestors Scan
- Folder location containing scan logs.
scanlogfilename
=Ancestors_Scan_Log.txt
- Filename for the scan log.
emailserver
=mail.example.com
- Email - Server:
emailto
=recipient@example.com
- Email - To:
emailfrom
=server_noreply@example.com
- Email - From:
emailsubject
="Automation Notification: Ancestors Scan Log"
- Email - Subject:
⭐ Detailed information regarding files that may contain "inflated" XMP-Photoshop:DocumentAncestors
metadata can be found here : https://prepression.blogspot.com/2017/06/metadata-bloat-photoshopdocumentancestors.html