Batch convert photos with no EXIF-DateTaken

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

Post Reply
Tommes
Posts: 8
Joined: Wed Dec 23, 2020 5:29 pm

Batch convert photos with no EXIF-DateTaken

Post 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
User avatar
xnview
Author of XnView
Posts: 34672
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch convert photos with no EXIF-DateTaken

Post by xnview »

currently there is no way to extract date from filename
Pierre.
Tommes
Posts: 8
Joined: Wed Dec 23, 2020 5:29 pm

Re: Batch convert photos with no EXIF-DateTaken

Post by Tommes »

I found some phrase "-AllDates<filename"

My photos are named like "20201230_104500_test.jpg"
User avatar
michel038
Posts: 646
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: Batch convert photos with no EXIF-DateTaken

Post 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 ...
Tommes
Posts: 8
Joined: Wed Dec 23, 2020 5:29 pm

Re: Batch convert photos with no EXIF-DateTaken

Post 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...
Post Reply