Giter Club home page Giter Club logo

data-recovery's Introduction

Data Recovery

Overview

Data Recovery is a Python-based command-line tool designed to recover deleted files from various storage devices. Utilizing byte-level scanning, it identifies files based on their unique signatures, offering a chance to restore files that have been inadvertently deleted or lost.

Key Features

  • Multiple File Type Support: Out-of-the-box support for recovering JPEG, PNG, and PDF files with the ability to easily add more file types.
  • User-Friendly Interface: Simple command-line prompts guide the user through the recovery process, making it accessible to users with varying levels of technical expertise.
  • Flexible and Extensible: Designed for easy extension, allowing developers to add support for additional file types by defining new byte signatures.

Tools and Libraries Used

  • Python: The core language used for developing this application.
  • itertools, sys, os: Essential Python libraries for efficient looping, system operations, and file management.
  • time: Used to manage timing for the loading animation.
  • threading: Enables concurrent execution of the loading animation and the scanning process, improving the tool's efficiency.

How to Use

  1. Clone the repository or download the source code to your local machine.
  2. Open your terminal or command prompt.
  3. Navigate to the directory containing the Data Recovery tool.
  4. Run the tool using Python with the command: python main.py
  5. Follow the on-screen prompts to select the drive, specify the file type to recover, and provide the destination directory for recovered files.

Extending Data Recovery

To add support for additional file types:

  1. Open recover.py.
  2. Locate the get_byte_sequences function.
  3. Add a new entry to the sequences dictionary with the key as the file extension (e.g., "txt") and the value as a tuple containing the byte start and end sequences for the file type.

Example:

"txt": (b'START_SEQUENCE', b'END_SEQUENCE'),

data-recovery's People

Contributors

joseraul42 avatar

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.