* ianseeks <ianseeks@btinternet.com> [07-13-16 07:38]:
HI
Has anyone found an easy to use tool/script to update a photo file creation date/time to the date/time that the photo was taken? I'm having to change all my girlfriends' photos taken on her phone that are backed up to Windows 7 (ugh) and then transferred via samba into the digikam system.
I *assume* you mean making the file date/time match the exif file creation time which *should* match the date/time taken??? exiftool or exiv2 will accomplish this. I prefer exiv2 as it is compiled and much quicker as exiftool is a perl "script". I do: exiv2 -T ./*.{nef,jpg} you might change to: exiv2 -T ./*.jpg changes the file date/time to match the exif image creation date/time w/o changing the file name. I go further and change the image file name to match creation date/time: exiv2 mv \-k \-r %y%m%d_%H%M%S_:basename: \.\/*.{nef,jpg}' results: 160713_075208_dsc9817.jpg YYMODA HHMMSS orig_file_name I have quite an extensive collection over the last ~12 years, mostly sporting events (youth soccer), ~70000 the last four years in darktable. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org