Restoring accidentally deleted files on Linux(sabotage-linux.github.io) |
Restoring accidentally deleted files on Linux(sabotage-linux.github.io) |
mount -o remount,ro /dev/sda1
extundelete --restore-all --after $(date -d "-1 hours" +%s) /dev/sda1
find /RECOVERED_FILES -name accidentally_deleted_file
mount -o remount,rw /dev/sda1Forensic tools also work well for this.