ext4magic

recover deleted files from ext3 or ext4 partitions

Install

All systems
curl cmd.cat/ext4magic.sh
Debian Debian
apt-get install ext4magic
Ubuntu
apt-get install ext4magic
Arch Arch Linux
pacman -S ext4magic
image/svg+xml Kali Linux
apt-get install ext4magic
Windows (WSL2)
sudo apt-get update sudo apt-get install ext4magic
Raspbian
apt-get install ext4magic

ext4magic

recover deleted files from ext3 or ext4 partitions

ext4magic is a file carver (or file carving). It can be used when recovering from disasters or in digital forensics activities. The deletion of files in ext3/4 filesystems can not be easily reversed. Zero out of the block references in the inodes makes that impossible. Experiences with other programs have proved that is possible restore sufficient information for a recover of many data files, directly from the filesystem journal. ext4magic can extract the information from the journal and restore files in an entire directory tree, if the information in the journal are sufficient. This tool can recover the most file types, with original filename, owner and group, file mode bits and also the old atime/mtime stamps.