OS Manuals

/usr/bin/ntfsundelete

From ntfs-3g-progs 2026.9.28-r0 (os), captured 2026-11-05 by running ntfsundelete --help (exit 0). permalink

Usage: ntfsundelete [options] device
    -s, --scan             Scan for files (default)
    -p, --percentage NUM   Minimum percentage recoverable
    -m, --match PATTERN    Only work on files with matching names
    -C, --case             Case sensitive matching
    -S, --size RANGE       Match files of this size
    -t, --time SINCE       Last referenced since this time

    -u, --undelete         Undelete mode
    -i, --inodes RANGE     Recover these inodes
    -o, --output FILE      Save with this filename
    -O, --optimistic       Undelete in-use clusters as well
    -d, --destination DIR  Destination directory
    -b, --byte NUM         Fill missing parts with this byte
    -T, --truncate         Truncate 100% recoverable file to exact size.
    -P, --parent           Show parent directory

    -c, --copy RANGE       Write a range of MFT records to a file

    -f, --force            Use less caution
    -q, --quiet            Less output
    -v, --verbose          More output
    -V, --version          Display version information
    -h, --help             Display this help

Developers' email address: ntfs-3g-devel@lists.sf.net
News, support and information:  https://github.com/tuxera/ntfs-3g/
Options (20)
OptionDescriptionSource
-s, --scanSearch through an NTFS volume and print a list of files that could be recovered.help + man
-p, --percentage NUMFilter the output of the --scan option, by only matching files with a certain amount of recoverable content.help + man
-m, --match PATTERNFilter the output by only looking for matching filenames.help + man
-C, --caseWhen scanning an NTFS volume, any filename matching (using the --match option) is case-insensitive.help + man
-S, --size RANGEFilter the output of the --scan option, by looking for a particular range of file sizes.help + man
-t, --time SINCEFilter the output of the --scan option.help + man
-u, --undeleteSelect undelete mode.help + man
-i, --inodes RANGERecover the files with these inode numbers.help + man
-o, --output FILEUse this option to set name of output file that --undelete or --copy will create.help + man
-O, --optimisticRecover parts of the file even if they are currently marked as in use.help + man
-d, --destination DIRThis option controls where to put the output file of the --undelete and --copy options.help + man
-b, --byte NUMIf any clusters of the file cannot be recovered, the missing parts will be filled with this byte.help + man
-T, --truncateIf ntfsundelete is confident about the size of a deleted file, then it will restore the file to exactly that size.help + man
-P, --parentDisplay the parent directory of a deleted file.help + man
-c, --copy RANGEThis wizard's option will write a block of MFT FILE records to a file.help + man
-f, --forceThis will override some sensible defaults, such as not overwriting an existing file.help + man
-q, --quietReduce the amount of output to a minimum.help + man
-v, --verboseIncrease the amount of output that ntfsundelete prints.help + man
-V, --versionShow the version number, copyright and license for ntfsundelete.help + man
-h, --helpShow a list of options with a brief description of each one.help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.