Post date: Jul 16, 2013 5:28:10 PM
1 - For ubuntu install e2fslibs-dev:
sudo apt-get install e2fslibs-dev
2 - Download tool extundelete from:
http://extundelete.sourceforge.net
3 - Uncompress the tar file
4 - Compile program using
sudo ./configure
sudo make
5 (optional) - run “make install” to install the program in the /usr/bin directory
6 - In command-line use:
to check the name of the drive to recover:
sudo fdisk -l
to restore all:
sudo extundelete /dev/sda4 --restore-all
to restore a directory:
sudo extundelete /dev/sda1 --restore-directory /[directory]/
to restore directory after date 10th July 2013 at 10:00:
date -d "Jul 10 10:00" +%s
sudo extundelete /dev/sda1 --restore-directory /[directory]/ --after [number from previous command output]
7 - Check the RECOVERY_FILES directory to find the recovered files
PS. results even for the erased files in trash:
Trash directory is located in:
/home/user/.local/share/Trash/files