Code Monkey home page Code Monkey logo

photorec-wrapper's Introduction

PhotoRec wrapper

Hi, I was looking for a better script than what was posted than what was here http://www.cgsecurity.org/wiki/After_Using_PhotoRec

I wouldn't need to waste space by copying the files, like the previous script. This script moves files, and compares the sizes. It keeps a duplicate if its less than the previous size, and puts it into a dupes folder, or to replace the current file with a bigger copy, in hopes for a 2nd chance recovery.

I hope this helps some of you who have little drive space, for recovery.

  1. Start the PhotoRec session
  2. Stop the PhotoRec session
  3. Start the script: script.py [source] [destination]
  4. Manage your sorted files (delete, move, et cetera)
  5. Start the PhotoRec session, and restore previous session

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.