LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ntfscat

reads a file from an NTFS volume and outputs it to stdout

TLDR

Extract file from NTFS
$ ntfscat /dev/[sda1] [path/to/file] > [output]
copy
Extract by inode number
$ ntfscat /dev/[sda1] -i [12345] > [output]
copy
Extract named data stream
$ ntfscat /dev/[sda1] [file]:stream > [output]
copy
Force extraction
$ ntfscat -f /dev/[sda1] [file] > [output]
copy

SYNOPSIS

ntfscat [options] device file

DESCRIPTION

ntfscat reads a file from an NTFS volume and outputs its contents to standard output. Files can be referenced by their path within the volume or by MFT inode number, and named alternate data streams can be accessed using the `filename:stream` syntax.Useful for forensics and data recovery from NTFS partitions without mounting the volume.

PARAMETERS

-i, --inode num

Use inode number.
-a, --attribute type
Attribute type.
-n, --attr-name name
Attribute name.
-f, --force
Force operation.
-q, --quiet
Quiet mode.

INSTALL

sudo apt install ntfs-3g
copy
sudo dnf install ntfs-3g
copy
sudo pacman -S ntfs-3g
copy
sudo apk add ntfs-3g-progs
copy
sudo zypper install ntfs-3g
copy
brew install ntfs-3g
copy

CAVEATS

Requires ntfs-3g package. Device should be unmounted or mounted read-only. Windows paths use backslash.

HISTORY

ntfscat is part of ntfs-3g, the open-source NTFS driver and utilities, providing read access to NTFS filesystems.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid