r/ProgrammerHumor 2d ago

Meme goodOldDays

Post image
4.1k Upvotes

181 comments sorted by

View all comments

Show parent comments

46

u/rosuav 2d ago

TBH even with the question as written, I would be saying "testdisk". Seriously, that tool is nothing short of god-tier magic on the day when you desperately need it.

3

u/alfredo__pacino 1d ago

Don't you get a long list of files with random alphanimeric names that kind of makes a pain to find that 1 file you have just deleted? It was a long time ago since I've used it, and even then I was never quite sure I used it properly

3

u/rosuav 1d ago

It depends a lot on how much has happened in that directory. The file name is often still there. The trouble is, if you've had a *lot* of files with the same name, they're probably ALL still there.

1

u/alfredo__pacino 1d ago

Uhm, afair filenames and original paths weren't preserved.

1

u/rosuav 1d ago

Maybe it depends on the file system. They certainly were when I used it.

Or maybe you're thinking of the lost+found directory, rather than the testdisk program? That's a very different feature and unlikely to help with an accidental rm, but can rescue something that got lost due to power failure.

2

u/alfredo__pacino 1d ago

Yeah not sure, I'll give it a try again. Cheers

1

u/rosuav 1d ago

For the record, it is a **GOOD THING** that none of us are deeply familiar with the tools that help you recover from disasters. I would be a lot more scared if we were using them every day...