Problem Setting Timestamp from the File Name

Advanced Renamer forum
#1 : 07/10-20 16:00
Michael Albert
Michael Albert
Posts: 2
Hi,

Thanks for Advanced Renamer! It's solved a problem that I've been looking for a solution to for a long time.

I'm now using it to set the timestamp for images that I shot on my Pixel phone that I retrieved via Google Takeout so they indicate the time the shot was taken. All the timestamps are now set to the time I ran Google Takeout and the name of each file indicates the date and time the image was shot. I have file names like IMG_20171225_143748.jpg, Screenshot_20171006-163548.png, and PANO_20170811_195749.jpg. The date is encoded in the first 8 digits and the time is encoded in the 6 digits following the final underscore or minus sign.

When I run Advanced Renamer and use the Timestamp method, check "Filename pattern", and specify the pattern "<Year><Month><Day>" the date portion of each timestamp is set correctly. However if I try to also set the time portion of each timestamp using the Pattern "<Year><Month><Day>_<Hour><Minute><Second>", "<Year><Month><Day>-<Hour><Minute><Second>", or "<Year><Month><Day><Hour><Minute><Second>" the pattern doesn't match. How can I get this to work so I can set the time as well as the date?

Thanks,
Mike


07/10-20 16:00
#2 : 07/10-20 17:15
David Lee
David Lee
Posts: 1125
RTFM!
www.advancedrenamer.com/user_guide/method_timestamp

"The tags <Year>, <Month>, <Day>, <Hour>, <Min>, and <Sec> have special meaning in this method."


07/10-20 17:15
#3 : 07/10-20 23:46
Michael Albert
Michael Albert
Posts: 2
David,

I did Read The F*ing Manual but I missed that the terms were abbreviated. Using the proper terms fixed the problem. Sorry to waste your time.

Thanks,
Mike


07/10-20 23:46