Thanks to visit codestin.com
Credit goes to GitHub.com

Skip to content

imrany/recovery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛠️ File Recovery Tool

A simple tool to scan your disk for deleted files and recover them easily.

🖼️ Screenshot

Recovery Tool Screenshot
Example: Recovering deleted files from a disk.

📖 Overview

File Recovery Tool helps you restore deleted files from your hard drive.
It scans disk sectors for lost files and recovers them based on file signatures.

  • Who is it for?
    Anyone who accidentally deleted files and wants to get them back.

  • Tech Stack:

    • Go (Golang)

🚀 How to Use

1. Download & Install

  • Download the latest release from Releases.
  • Extract the archive and open a terminal in that folder.

2. Recover Your Files

  • To recover specific file types:
    ./recovery -disk=<diskpath> -type=jpg
  • To recover all files:
    ./recovery -disk=<diskpath> -type=all
  • List partitions:
    ./recovery -disk=<diskpath> -partitions
  • Check file metadata:
    ./recovery -info=<file_path>

Note:
Recovered files are saved in ./recovered/recovered_<sector>.<ext>


🛠️ Developer Setup

  1. Clone the repo:
    git clone https://github.com/imrany/recovery.git
    cd recovery
  2. Install go packages
    go mod tidy
  3. Build the tool:
    go build -o recovery
  4. Run as shown above.

🐛 Known Issues

  • May not recover all file types.
  • Some files may be partially corrupted.
  • Requires admin/root permissions to access disks.

ℹ️ Extra Info

Releases

No releases published

Packages

No packages published