exiftool '-alldates<${filename;s/_.*//} 120000' 2019-05-15_0023.jpg source: http...

@sparklepanic@infosec.exchange

exiftool '-alldates<${filename;s/_.*//} 120000' 2019-05-15_0023.jpg

source: rb.ax/blog/using-exiftool-to-s

holy moly this is useful! able to place metadata onto photos with no date metadata by pulling from the filename.

my go theme pulls metadata from the header image, and expects the date so this works well for my use case

i store all the photos going up online as yyyy-mm-dd-shortdescription.webp so it works even better!