CMD line tool for EXIF Photo Management. Useful when migrating from iCloud to an other Photo Storage/Management system. This tool is based on ExifTool by Phil Harvey https://exiftool.org/.
The tool itself exiftool.exe
must be somewhere in PATH
.
PhotoTool.exe c:\Images *.xmp
Analizes all XMP files in images directory. For every XMP file:
- reads inside XMP file tag
photoshop:DateCreated
in namespacehttp://ns.adobe.com/photoshop/1.0/
- looks for image file(s) (supported formats are
jpg, jpeg, mp4, mov, heic
) with the same name of the XMP file. I.e.:image_01.xmp -> image_01.jpeg
- reads file(s) EXIF informations, looking for TAG
DateTimeOriginal
; - if no
DateTimeOriginal
TAG is found, overwrites it with what found at Step #01; - renames XMP file to XMP.done, letting you to re-process the entire directory;
Count DONE objects using PowerShell:
dir C:\Images *.xmp.done | Measure-Object -line