images missing after cancelling gimp session
by slac-in-the-box from LinuxQuestions.org on (#6N6YT)
It created a knot in my stomach. I've been editing, renaming, sorting, deleting a few years of imported photos, so they would have nice names like 2024-05-31-paris-john-and-sally-00.jpg. Before they had names like IMG_2024053123456, and other cryptic names depending on which camera they were imported from.
So I had about 300 left, and computer power-cycled (ancient laptop whose battery is toast, so one power flicker can reboot it).
After rebooting, I started to open gimp from the CLI like this:
Code:gimp IMG*.jpgWhile gimp was first loading, and before it even was displayed on the screen, I realized, that opening 300 images at once, though possible, hogs system resources, and slows it down, such that exporting an image becomes a 20 second process instead of a 2 second process, and that I would save time opening up a smaller number of images.
Upon this realization I typed Ctrl-C on keyboard to cancel gimp at cli. It cancelled.
I exited my shell, to come back to it later. Came back to it just now, and all the jpg files that were in that directory are MISSING?
Any clues as to how I should troubleshoot this would be appreciated.
The only thing I can think of right now would be running testdisk / PhotoRec --but such recovery software will rename them all to "recovered-image-01" or something like that, such that I will have to look, sort, and rename them all over again, which I'm hoping to avoid.
How can this happen?
So I had about 300 left, and computer power-cycled (ancient laptop whose battery is toast, so one power flicker can reboot it).
After rebooting, I started to open gimp from the CLI like this:
Code:gimp IMG*.jpgWhile gimp was first loading, and before it even was displayed on the screen, I realized, that opening 300 images at once, though possible, hogs system resources, and slows it down, such that exporting an image becomes a 20 second process instead of a 2 second process, and that I would save time opening up a smaller number of images.
Upon this realization I typed Ctrl-C on keyboard to cancel gimp at cli. It cancelled.
I exited my shell, to come back to it later. Came back to it just now, and all the jpg files that were in that directory are MISSING?
Any clues as to how I should troubleshoot this would be appreciated.
The only thing I can think of right now would be running testdisk / PhotoRec --but such recovery software will rename them all to "recovered-image-01" or something like that, such that I will have to look, sort, and rename them all over again, which I'm hoping to avoid.
How can this happen?