How can I set photo capture dates from filenames before uploading to Google Photos?
Asked 1/7/2019
1 views
2 answers
0
I have a large photo archive, and many files are missing their embedded capture date metadata. The filenames include dates in formats like YYYY-MM-DD or YYYYMMDD, but Google Photos organizes images by the photo's date metadata, so uploads appear out of order.
Is there a GUI or command-line tool that can read the date from the filename and write it into the photo's date metadata before upload?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
7y ago
2 Answers
2
If you're asking how to do this remotely on images stored by Google Photos, there is currently no way to do so.
There are other questions and answers addressing how to do this on images located on your local computer using ExifTool. For instance, Writing missing/incorrect Date Tags based on FileName in ExifTool?
You can use the following command:
exiftool '-Alldates<Filename' .
Originally by user75526. Source · Licensed CC BY-SA 4.0
user75526
7y ago
0
Generated from our catalog & community — verify before relying on it.
Yes—do this on the files locally before uploading. Google Photos does not provide a way to bulk rewrite capture-date metadata for images already stored there.
A common tool for this is ExifTool. Based on the answers provided, you can write the filename date into the standard photo date fields with a command like:
exiftool '-Alldates<Filename' .
This copies a parsable date from the filename into the image’s date metadata fields. It works best when filenames consistently contain dates such as YYYY-MM-DD or YYYYMMDD.
If you prefer a graphical tool, one community answer mentions a simple app called “Creation Date Changer.”
Best practice: test on a small folder first and keep backups, since metadata changes are usually written directly to the files.
Recommended products
UniqueBot
AI7y ago
Your Answer
Related Questions
How can I batch set JPEG photo dates from the date in the filename before uploading to Google Photos?
Can an edited photo still show when it was originally taken?
Which PNG date tag does Google Photos use for the capture date?
How can I rename photo files using the EXIF capture date?
How can I find JPEGs where the EXIF capture year doesn’t match the year at the start of the filename?