Giter Club home page Giter Club logo

ntfs-3g's Introduction

Origins of this project

This is forked from
https://github.com/vitalif/ntfs-3g

which is forked from this origin
git://ntfs-3g.git.sourceforge.net/gitroot/ntfs-3g/ntfs-3g

why?

well ... i deleted everything on my windows drive and i wanted to restore the user directory. There was this tool ntfsundelete that restores single files or a bunch of them by nodeid. But ntfsundelete restores files in a single directory and i want it in the original directory structure and without name collisions of equal names. Also i wanted to be able to specify the parent directory to recover all of its content recursively.

build ntfsprogs

to build only ntfsprogs follow these steps

./configure 
make ntfsprogs

to list all recoverable files with a complete path use the -A argument

./ntfsundelete </dev/unmounted_ntfs_drive>  -A

search for the directory and remember inode number of the directory

./ntfsundelete </dev/unmounted_ntfs_drive> -A -r <directory_node_id>

this prints all found files and directories in the selected directory_node_id recursifly.

when you are happy with the directory to undelete use following arguments.

./ntfsundelete </dev/unmounted_ntfs_drive> -A -u -r <directory_node_id> -d </destination/base/path/>

-A specifies that each node lists all parent directories up too root
-r directory_node_id specifies the nodeid of the directory of which all content ntfsundelet is trying to recover.
-u is the the undelete mode of ntfsundelete use at your own risk
-d specifies the destination path where ntfsundelete creates the undeleted files

ntfs-3g's People

Contributors

unsound avatar yura-pakhuchiy avatar szakacsits avatar jpandre avatar antonaltaparmakov avatar cwhuang avatar ersteller avatar orempel avatar vitalif 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.