I’ve been having problems with my camera’s memory card lately; sometimes I copied the files and they’re empty, or it fails to mount (there’s a /dev/sdc, but the kernel can’t read anything), and I have to try again. I wasn’t sure if the fault was in the card or the reader (a thing with a slot for the card and a USB plug). Yesterday I observed a plant growing up a signpost; tonight I put the card in the reader, plugged it in, and ran “getpix”, but had to hit ^C because it went into an endless loop trying to delete an old photo. After a few more tries, my computer hung and I had to reboot it. I tried on the laptop, which didn’t hang, but still couldn’t delete the files. I then put the card back into the camera and turned it on; it said “Memory card error”. That means the card’s worn out.
I then took the card back to the laptop and copied everything to /var/tmp/. It’s a 2 GB card, and by the file dates I guess it was made in 2017 and — I was going to say installed in the camera in 2024, but I’ve had it since before then. (Does the date on “System Volume Information/IndexerVolumeGuid” mean anything?)
When I buy a new card, should I copy everything from the old card to the new card, or should I tell the camera to format the card? If I format the card, it’ll start over again at img_0000.jpg, and I’ll have to move all the stuff in Pictures/incoming/ somewhere else; it’s up to img_3191. If I copy to the new card, it should resume at img_3192, but I don’t know what’ll happen when it gets to img_9999.
Do you know where on the card an ELPH stores the number of the next picture?