Reading date from six digit date group/ four digit time group

Started by gilhin, January 15, 2022, 06:59:15 PM

Previous topic - Next topic

gilhin

Dear,
I am currently trying to get a hold of a bunch of fotos out of different sources.
One of these sources named the files in the convention

YYmmdd-HHmmss.jpg (like 161108-122352 for a foto taken on November 08, 2016)

or even

YYmmdd-HHmm.jpg (like the one before, "just" without the seconds)

Can I get ExifTool to read these defined date/ time groups?

Thank you for your feedback,
best regards

Gilhin

StarGeek

* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

gilhin

Wow - that was quick.
Thanks for that.

However, tried it and got the following output...

Warning: No writable tags set from /path/to/file

and

Warning: Invalid tag name '20  00'. Use '=' not '<' to assign a tag value /path/to/file

Any idea?

StarGeek

* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).