Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Yesterday, during data transmission to an external hard drive, all data has been lost due to unexpected HDD crash. I've tried to use PhotoRec for a specific partition, 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. :)

share|improve this question
1  
This provides some Info about sorting after Photorec Recovery . –  tijybba Jul 14 '12 at 16:54
    
@tijybba You might want to post an answer based on this comment. –  Eliah Kagan Jul 14 '12 at 17:18
    
@EliahKagan- Thanks for suggestion , i am not good with coding :( , so in this case i would Urge you to post an answer on that , if you wish. –  tijybba Jul 14 '12 at 17:29
1  
Tijybba, thank you for sharing this helpful source. I've managed to retrieve files much quicker. :) –  eCleopatra Jul 14 '12 at 17:57
add comment

2 Answers

up vote 2 down vote accepted

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

share|improve this answer
    
Thank you so much! :) –  eCleopatra Jul 14 '12 at 17:54
add comment

You can recover all images with the method you want. After this, you can sort them by date with your favorite data explorer (for example nautilus).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.