There is no garbage heap available in Windows in Linux, so friends using Linux must make sure that they don't need to be removed when using the RM command, or use the MV command as much as possible.
Rename and delete files (folders) is the same, and once the deletion must stop the write operation, because the write operation must be memory address allocation, very
The address of the newly deleted file may be assigned, and once this happens, there is no need to bother finding a way, because it is completely nonexistent. I just deleted it, actually.
Simply mark the storage space of the file as assignable. I was taught by the blood.
Now on the command:
Tool Extundelete
1, Installation: $sudo apt-get install extundelete (preferably specify the path to avoid overwriting the files to be recovered)
2. Uninstall the partition that needs to recover the files:
$sudo fuser-k "Partition name"
$sudo umount "Partition name"
3. Use Extundelete to view the files that exist on the partition
$extundelete--inode 3 "Partition name"
4, the use of Extundelete can be viewed on Baidu
This method needs to be valid under the Ext4 file system and can be viewed using the command $DF
Here's what I'm looking at:
http://longgeek.com/2012/11/25/extundelete-recovery-for-linux-ext2-ext3-ext4-rm-rf-accidental-deletion-of-data/
Linux etx4 mistakenly deleted data recovery