ExifTool Forum

ExifTool => Newbies => Topic started by: fstr on March 15, 2015, 07:58:35 PM

Title: Update CreateDate only for specific camera
Post by: fstr on March 15, 2015, 07:58:35 PM
Hi, my motorola phone uses the wrong CreateDate. Through lots of reading I figured out how to fix the date:

c:\exiftool\exiftool "-DateTimeOriginal>CreateDate" -r -ext jpg \\NASE5FB44\Multimedia\Pictures\Test

But as I upload photos from multiple cameras into the same folder, I only want to run the script where the exif data identifies it as my phone. Something in the line of Camera Model Name = XT1095.

Can someone please tell me how to update above script to only run for a specific camera model?

Thanks!
Title: Re: Update CreateDate only for specific camera
Post by: Phil Harvey on March 15, 2015, 08:27:24 PM
The command would be:

c:\exiftool\exiftool -if "$model=~/XT1095/" "-DateTimeOriginal>CreateDate" -r -ext jpg \\NASE5FB44\Multimedia\Pictures\Test

- Phil
Title: Re: Update CreateDate only for specific camera
Post by: fstr on March 15, 2015, 09:24:25 PM
That worked great - thank you!