TransWikia.com

Edit Exif Data based on the name

Photography Asked by BobTheBuilder on April 3, 2021

Ok, so basically I’ve moved all the photos from my phone to pc (something that I did multiple times along the years from multiple phones) and the date taken is different from the actual date or doesen t exist at all (the only properties that exist is date created and date modified). What I want to do is to change/add ,,Date taken" based on the name of the photos because the name always contains the proper date in formats like these: "Screenshot_2019-02-22_131421" or "IMG_20190523_113412" or "IMG-20160301-WA0002"

One Answer

Using ExifTool, the command you want to use is listed in ExifTool FAQ #5
exiftool "-alldates<filename" /path/to/files/

This command creates backup files. Add -overwrite_original to suppress the creation of backup files. Add -r to recurse into subdirectories.

Answered by StarGeek on April 3, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP