A simple tool to scan your disk for deleted files and recover them easily.
Example: Recovering deleted files from a disk.
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)
- Download the latest release from Releases.
- Extract the archive and open a terminal in that folder.
- 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>
- Clone the repo:
git clone https://github.com/imrany/recovery.git cd recovery - Install go packages
go mod tidy
- Build the tool:
go build -o recovery
- Run as shown above.
- May not recover all file types.
- Some files may be partially corrupted.
- Requires admin/root permissions to access disks.
-
License:
BSD 3-Clause License -
Resources:
-
Contact:
[email protected] -
Buy me a coffee:
☕ Support me