Image-ExifTool - using -if with DateTimeOriginal to test for Null Data

Posted on Wed Dec 19 09:30:19 2007 by bv
using -if with DateTimeOriginal to test for Null Data

Hi Phil, How do I write the ArgFile code to test if a date is NULL? I have had no success and I have tried every combination of possibilities. I even tried to use $Year (from Exitfool_config from before). -Brooks

-P -DateTimeOriginal<FileModifyDate -if $DateTimeOriginal eq " : : : :" # NOT $DateTimeOriginal # $DateTimeOriginal eq "" # $DateTimeOriginal eq 0 # $DateTimeOriginal eq "0000" Sample output F:\Photos\2005\2005_01_01>EXIFTOOL -ALLDATES *.jpg ======== IMG_0117.JPG Date/Time Original : : : : : Create Date : : : : : Modify Date : : : : :
Direct Responses: 6724 | Write a response