Page 1 of 1

automatically change metadata date on scanned photos

Posted: Mon Mar 28, 2016 3:40 am
by ChaseMc
I have scanned over 5000 family photos in 300+ folders and organized the folders with the following "yyyy-mm-dd folder name" ie: 1998-12-25 Christmas with the family

Is there any way for me to automatically change the photos metadata info date taken/created/modified based on the date in the folder?

Also, what metadata field should I change for most programs (including google photo online) so when it organizes by date it will see the date I want and not when I scanned it?

Thank you

Re: automatically change metadata date on scanned photos

Posted: Tue Mar 29, 2016 8:17 am
by xnview
no, no way to use a folder name as date

Re: automatically change metadata date on scanned photos

Posted: Thu Mar 31, 2016 5:30 pm
by XnTriq
Phil Harvey ([url=http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,4471.msg21647.html#msg21647]Renaming files according to current directory structure[/url]) wrote:
ebony111 wrote:I have sense organized the files into the following structure user/images/yyyy/mm/dd, and i would like to run a command to change the exif dates to correspond to the file structure.
The command is exiftool "-alldates<$directory 12:00:00" DIR

(use double quotes as above in Windows, or single quotes in Mac/Linux)

ExifTool uses some magic to pull any numbers that look like a date/time out of whatever string you assign to a date/time tag.