How to use Ext3grep to restore mistakenly deleted files in Linux

Source: Internet
Author: User
Tags exit print print linux

In fact, this tool I have known for a long time, the previous period to do experiments, always problems. Can not solve their own. Very tangled, very depressed, very egg pain ....

Perhaps the luck is better today, install the software package, then use, hehe, unexpectedly succeeded, and delete the file, the command is RM-RF Oh!

First download the software, download the address:

Http://code.google.com/p/ext3grep/downloads/list

Currently the latest version is: ext3grep-0.10.2.tar.gz

The environment of my system is: virtual machine

[Root@localhost bin]# Uname-a

Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Tue Aug 15:51:54 EDT 2009 i686 i686 i386

[Root@localhost bin]# Cat/etc/issue

Red Hat Enterprise Linux Server Release 5.4 (Tikanga)

The following start installation Oh. Installation is simple

Tar zxvf ext3grep-0.10.2.tar.gz

CD ext3grep-0.10.2

./configure--prefix=/usr/local/ext3grep

Make

Make install

Successful installation completed.

And then enter? installation directory look, there's only one bin.

[Root@localhost ext3grep]# pwd

/usr/local/ext3grep

[Root@localhost ext3grep]# ls

Bin

Go inside the bin and take a look.

[Root@localhost ext3grep]# CD Bin

[Root@localhost bin]# ls

Ext3grep

We can look at the help, and here's the part

[Root@localhost bin]#./ext3grep-h

Running Ext3grep version 0.10.2

./ext3grep:invalid option--H

No action specified; Implying--superblock.

Usage:./ext3grep [Options] [--] Device-file

Options:

--version,-[VV] Print version and exit successfully.

--help, Print this Help and exit successfully.

--superblock Print contents of Superblock In addition to the rest.

If no action is specified then this option is implied.

--print Print content of block or inode, if any.

--ls Print directories with only one line per entry.

This option is often needed to turn on filtering.

--accept filen Accept ' filen ' as a legal filename. Can be used multi-

Ple times. If you are--accept you must remove

BOTH stage* files!

--accept-all Simply Accept everything as filename.

--journal Show content of journal.

--show-path-inodes show the inode for each directory component in paths.

This article URL address: http://www.bianceng.cn/OS/Linux/201410/45343.htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.