Tuesday, May 7, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 2352  / 3 Years ago, tue, july 13, 2021, 5:55:40

Yesterday, during data transmission to an external hard drive, all data was lost due to unexpected HDD crash. I've tried to use PhotoRec for a specific partition, and it retrieved over 50 000 images, nevertheless, most of the obtained files are older than 3-5 months.


In advance, thank you for your help. :)


More From » data-recovery

 Answers
1

In case your JPG files have EXIF data stored this can easily be accomplished with



jhead Install jhead



Command line tool to manipulate EXIF data, and to touch the timestamp or rename a jpg file according to the EXIF data stored within the file.



jhead -ft unnamed.jpg  # to touch the time
jhead -n%Y%m%d-%H%M%S unnamed.jpg # to rename in this format YYYYMMDD-hhmmss


exiv2 Install exiv2



Another, similar tool will also manipulate and use EXIf data from other file fomats including:




Supported formats are JPEG, TIFF, PNG, JP2, Adobe DNG, Canon CRW, Canon THM, Nikon NEF, Pentax PEF and XMP sidecar files. Read-only support is currently available for PSD and several TIFF-based RAW formats: Canon CR2, Fujifilm RAF, Minolta MRW, Olympus ORF, Sony ARW and Sony SR2. Manpage exiv2




exiv2 rename unnamed.jpg # will rename to YYYYMMDD_hhmmss.jpg


Shotwell



Shotwell Photo Manager is installed by default and can sort images according to their EXIF data:



enter image description here


[#36867] Tuesday, July 13, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ligdesig

Total Points: 164
Total Questions: 106
Total Answers: 114

Location: Japan
Member since Sat, Jun 6, 2020
4 Years ago
;