Page 1 of 1

Batch convert photos with no EXIF-DateTaken

Posted: Tue Dec 29, 2020 9:10 pm
by Tommes
Hello,

the photos of my smartphone have no EXIF-DateTaken.

I want to run a batch that:
-process files from "c:/photo"
-fetch the date from filename and write it into EXIF-DateTaken
-rename file with "filename<CreateDate"
-move the file to "c:/photo/%Y/%m/%Y%m%d_%H%M%S%%-c.%%le"

I have phrases for every single step, but don't know how to combine it.

Thanks for your help,
Tommes

Re: Batch convert photos with no EXIF-DateTaken

Posted: Wed Dec 30, 2020 9:34 am
by xnview
currently there is no way to extract date from filename

Re: Batch convert photos with no EXIF-DateTaken

Posted: Wed Dec 30, 2020 9:45 am
by Tommes
I found some phrase "-AllDates<filename"

My photos are named like "20201230_104500_test.jpg"

Re: Batch convert photos with no EXIF-DateTaken

Posted: Wed Dec 30, 2020 10:39 am
by michel038
XnViewMp can sometimes use ExifTool but ExifTool is only an add-on here.
ExifTool standalone can provide a lot of wonderful tools, you should see www.exiftool.org ...

Re: Batch convert photos with no EXIF-DateTaken

Posted: Wed Dec 30, 2020 11:39 am
by Tommes
michel038 wrote: Wed Dec 30, 2020 10:39 am XnViewMp can sometimes use ExifTool but ExifTool is only an add-on here.
ExifTool standalone can provide a lot of wonderful tools, you should see www.exiftool.org ...
...Thank you...