is there a script command that can read, how many pictures (i.e. in .jpg format) are currently on the SD card I'm using? I've found get_exp_count, but get_exp_count gives me the number (the prefix) of the currently taken picture (i.e. IMG_1578 => get_exp_count==1578)?
Or, is there a script command that can read, how much space is left on the SD card?
I'm using Canon A590 + CHDK 1342 build.
I'm particularly interested in a command that will tell me if there are currently _any_ pictures on the card.
is_card_empty == 1 => no pictures on the SD card.
is_card_empty == 0 => some pictures on the SD card.