All Projects → PabloLec → RecoverPy

PabloLec / RecoverPy

Licence: GPL-3.0 License
🙈 Interactively find and recover deleted or 👉 overwritten 👈 files from your terminal

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to RecoverPy

Smenu
smenu started as a lightweight and flexible terminal menu generator, but quickly evolved into a powerful and versatile CLI selection tool for interactive or scripting use.
Stars: ✭ 1,906 (+908.47%)
Mutual labels:  console, tui
Finalcut
A text-based widget toolkit
Stars: ✭ 244 (+29.1%)
Mutual labels:  console, tui
Mandown
man-page inspired Markdown viewer
Stars: ✭ 173 (-8.47%)
Mutual labels:  console, tui
Clrcli
CLRCLI is an event-driven library for building line-art user interfaces in C#/.Net command-line applications.
Stars: ✭ 124 (-34.39%)
Mutual labels:  console, tui
croatoan
Common Lisp bindings for the ncurses terminal library.
Stars: ✭ 111 (-41.27%)
Mutual labels:  console, tui
Lazyhub
lazyhub - Terminal UI Client for GitHub using gocui.
Stars: ✭ 133 (-29.63%)
Mutual labels:  console, tui
Asciimatics
A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
Stars: ✭ 2,869 (+1417.99%)
Mutual labels:  console, tui
Crossterm
Cross platform terminal library rust
Stars: ✭ 1,023 (+441.27%)
Mutual labels:  console, tui
pytermgui
Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
Stars: ✭ 1,270 (+571.96%)
Mutual labels:  console, tui
xplr
A hackable, minimal, fast TUI file explorer
Stars: ✭ 2,271 (+1101.59%)
Mutual labels:  console, tui
Phetch
🐭 quick lil gopher client for your terminal
Stars: ✭ 108 (-42.86%)
Mutual labels:  console, tui
ncgrep
NCGREP, which is based on ncurses library to provide user interface, is a grep tool for searching text on target directory.
Stars: ✭ 23 (-87.83%)
Mutual labels:  tui, grep
Dte
A small, configurable console text editor (moved to https://gitlab.com/craigbarnes/dte)
Stars: ✭ 98 (-48.15%)
Mutual labels:  console, tui
Kubebox
⎈❏ Terminal and Web console for Kubernetes
Stars: ✭ 1,855 (+881.48%)
Mutual labels:  console, tui
Zui
⬢ Zsh User Interface library – CGI+DHTML-like rapid application development with Zsh
Stars: ✭ 95 (-49.74%)
Mutual labels:  console, tui
S Tui
Terminal-based CPU stress and monitoring utility
Stars: ✭ 2,825 (+1394.71%)
Mutual labels:  console, tui
Ueberzug
ueberzug is a command line util which allows to display images in combination with X11
Stars: ✭ 711 (+276.19%)
Mutual labels:  console, tui
C Sharp Console Gui Framework
A GUI framework for C# console applications
Stars: ✭ 838 (+343.39%)
Mutual labels:  console, tui
px
ps and top for human beings
Stars: ✭ 151 (-20.11%)
Mutual labels:  console, tui
qbittorrentui
text user interface for qbittorrent
Stars: ✭ 19 (-89.95%)
Mutual labels:  console, tui
RecoverPy

Recover overwritten or deleted data.

Release License Downloads Tests



RecoverPy

You can already find plenty of solutions to recover deleted files, but it can be a hassle to recover overwritten files. RecoverPy searches through every block of your partition to find your request.

Demo

Installation

🐧 RecoverPy is currently only available on Linux systems.

➡️ Dependancies

Mandatory: To list and search through your partitions, recoverpy uses grep, dd, and lsblk commands.

Optional: To display real time grep progress, you can install progress.

To install all dependencies:

  • Debian-like: apt install grep coreutils util-linux progress
  • Arch: pacman -S grep coreutils util-linux progress
  • Fedora: dnf install grep coreutils util-linux progress

➡️ Installation from pip

python3 -m pip install recoverpy

Usage

python3 -m recoverpy

🔴 You must have root access to use recoverpy.

If you are not logged as root use sudo recoverpy or log in with su - before execution.


1️⃣ Select the system partition in which your file was. If you are out of luck, you can alternatively search in your home partition, maybe your IDE, text editor, etc. made a backup at some point.

2️⃣ Type a text string to search. See tips below for better results.

Note that searching a string in a whole partition may take a while. (see euphemism)

Default save path is /tmp/, click on Settings to edit configuration.

3️⃣ Start search, Results will appear in the left-hand box.

4️⃣ Select a result to display the corresponding partition block content in the right-hand box.

5️⃣ Once you have found your precious, select Save.

6️⃣ You can now either save this block individually or explore neighboring blocks for the remaining parts of the file. You could then save it all in one file.

Tips

  • Always do backups! Yes, maybe too late...
  • Unmount your partition before you do anything! Although you can search with your partition still mounted, it is highly recommended to unmount your partition to avoid any alteration to your file.

Regarding the searched string:

  • Be concise, find something that could be unique to your file.
  • Stay simple, your string is escaped but exotic characters may affect your results.
  • Try to remember the last edit you have made to your file.

When you found your file:

  • Use the option to explore neighboring blocks to make sure you do not miss some part of your file.

Contributing

Thank you for considering contributing to RecoverPy. Any request, bug report or PR are welcome. Please read the contributing guide.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].