this post was submitted on 20 Jun 2023
2 points (100.0% liked)

Linux

56887 readers
609 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

I’m having trouble finding a recovery utility that meets my need. Ext4magic and extundelete don’t seem to allow for recovery of a specific directory, only working on the entire filesystem. Photorec can browse directories, doesn’t support ext4. Is there anything out there that can do both?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 2 years ago

I believe it's quite possible that there is no information where a removed file belonged to in exr4fs and it's ilk; after all they also have concept of "lost and found" files, and files there also don't have that information. If the directory they were contained in gets overwritten in a form that the file is not there, then the information is likely gone; along with the name of the file.

Just get a secondary device, recover everything you can, pick the files you needed. Consider yourself lucky if you get to restore the file you lost.

Good luck recovering your files! For future I recommend making backups. I use kopia, borgbackup is also popular.