Quantcast
Channel: How do I update exif DateTimeOriginal based on filename? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by StarGeek for How do I update exif DateTimeOriginal based on filename?

You're close with your original, but as @Grinnz said, you need to use single quotes. Additionally, you want the first 4 numbers for the year, but you're only grabbing 3.So try:exiftool...

View Article



Answer by Mark Setchell for How do I update exif DateTimeOriginal based on...

There may be a better way, but this works:#!/bin/bashfor f in *.jpg; do year=$(grep -Eo "^\d+"<<< "$f") echo File: $f, setting year:$year exiftool "-datetimeoriginal=${year}01:01...

View Article

How do I update exif DateTimeOriginal based on filename?

I want to share 10K photos using Google Photos. These images werescanned, so they don't have correct DateTimeOriginal for chronological ordering.I need to update DateTimeOriginal to YYYY:01:01 00:00:00...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images