I accidentally deleted a few important work related folder from my Ubuntu 14.04. I wanted to recover them. All the options on net gives instruction for recovering files.
I tried scalpel but I don't remember any of the file names so i could not recover any files. Is there a way to list the folders i deleted and recover the one i wanted? I need these files please help me.
If you've permanently deleted a file (using something like
rm
or Shift-Delete), the file is still there, but marked as "free", meaning it can be overwritten by any other file operation. In order to prevent this data from being destroyed, SHUT DOWN YOUR SYSTEM NOW.Boot into a live session (USB/CD/DVD/etc) and use a tool like
foremost
orphotorec
to attempt to pull the lost data from your drive. Do not mount the partition from your live disk. Operate on the raw block device itself.You can get information about these two utilities using
man photorec
orman foremost
after the eponymous packages have been installed to the live media.Your folder itself is likely gone (as it's just virtual), but the files within might still be okay, but you might need to sort through a lot of cruft to find those files.