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.