Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#65 How to determine the last taken photo?

open
nobody
None
5
2012-12-12
2005-12-17
No

Hi
I wonder if there is a way to determine the last photo
taken with the camera
I tried grep'ing the last line from gphoto -L but it
does not always give me the last photo because of
multiple folders.

/Niclas

Discussion

  • Logged In: YES
    user_id=48092

    Usual the camera increments the internal image counter,
    so you could just go look for the highest
    DSCN%d or IMG_%d or whatever number.

    is however camera specific.

    Another way would be to get the exif information for all
    oif them and check the newest date.

    This might however cause dowloading of all images (for
    cameras that do not support exif / partial gets).