GithubHelp home page GithubHelp logo

abysmalbiscuit / extundeletex Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 1.0 367 KB

Fork of extundelete updated to work with the latest e2fsprogs library.

License: GNU General Public License v2.0

Makefile 24.44% M4 2.73% Shell 14.24% C 18.06% C++ 35.87% CMake 4.66%

extundeletex's Introduction

ExtundeleteX

Requirements

To compile and install this program, you should first install the binary and development packages for e2fsprogs and e2fslibs. You must also have a C++ compiler and a make utility to compile extundelete.

Installation

Acquiring sources

To compile the program from source, either download the latest release or clone the repository to build the latest version:

git clone https://github.com/AbysmalBiscuit/ExtundeleteX.git

Building Using make

Configuring and building

Run the following commands from the extundeletex-x.y.z or ExtundeleteX directory:

./configure
make

Installing

The extundelete program may be run as-is from the build directory, or you may wish to install it to a directory that is shared with other executable programs, which you may do by running the following command:

make install

Example full installation compilation instructions for extundelete:

git clone https://github.com/AbysmalBiscuit/ExtundeleteX.git
cd ExtundeleteX
./configure
make
src/extundelete --help

Building Using cmake

Configuring and building

Run the following commands from the extundeletex-x.y.z or ExtundeleteX directory:

mkdir build
cd build
cmake ..
make

Installing

Run the following commands:

make install

Example full installation compilation instructions for ExtundeleteX:

git clone https://github.com/AbysmalBiscuit/ExtundeleteX.git
cd ExtundeleteX
mkdir build
cd build
cmake ..
make
src/extundelete --help

Usage

To see the various supported options, type:

extundelete --help

Sample use case scenario

Note that some of the following commands will require special permissions to complete.
Adding 'sudo ' before the command is one way to ensure you have the necessary permissions.

Assume you have deleted a file called:

/home/user/an/important/file

Also assume the output of the 'mount' command shows this line (among others):

/dev/sda3 on /home type ext3 (rw)

This line shows that the /home directory is on the partition named /dev/sda3, so then run:

umount /dev/sda3

and check that it is now unmounted by running the mount command again and seeing it is not listed. Now, with this information, run extundelete:

extundelete /dev/sda3 --restore-file user/an/important/file

If you have deleted the directory 'important', you can run:

extundelete /dev/sda3 --restore-directory user/an/important

Or if you have deleted everything, you can run:

extundelete /dev/sda3 --restore-all

Notice

I am not the original author of extundelete and have forked it from the original sourceforge repository because it was broken and seemed abandoned.

extundeletex's People

Contributors

abysmalbiscuit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jboero

extundeletex's Issues

ExtundeleteX Segfaults when attempting any recovery task

The reason why ExtundeleteX Segfaults is due to a change in the e2fsprogs library that happened between versions 1.42.12 and 1.43.13

If anyone would like to contribute or has any suggestions as to how ExtundeleteX can be fixed I am very happy to accept PRs and any help. :)

I will post progress updates in this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.