NTFSCAT(8)

๐Ÿ’… NAME

okay so bestie, gather round: ntfscat is the manual name, and what it does is literally print NTFS files and streams straight to the standard output. that's it. that's the whole vibe. โœจ


๐Ÿฆ‹ SYNOPSIS

[options] device [file]

yeah that's the whole shape of it โ€” options first, then device, then file if you feel like it ๐ŸŽ€


๐ŸŒธ DESCRIPTION

ntfscat reads a file or a stream off an NTFS volume and puts the contents on the standard output. simple. iconic. no cap. ๐Ÿ”ฅ

the case of the filename you pass to ntfscat is ignored โ€” so don't stress about caps, it literally does not care ๐Ÿ’…


โœจ OPTIONS โœจ

so below is the full rundown of every option ntfscat accepts, and bestie there are two names for nearly all of them. the short name gets a - in front, the long name gets a --. any single-letter options that don't take an argument can be smooshed together into one command โ€” like -fv is the exact same thing as -f -v. and long named options can be shortened to any unique prefix of their name ๐Ÿซถ

  • -a, --attribute TYPE โ€” show the contents of one particular attribute type. by default the unnamed $DATA attribute is what gets shown. you can name the attribute with a decimal number, a hex number, or its actual name ๐Ÿ‘‘

the full attribute menu, in all its glory:

  • 0x10 / 16 โ€” "$STANDARD_INFORMATION"
  • 0x20 / 32 โ€” "$ATTRIBUTE_LIST"
  • 0x30 / 48 โ€” "$FILE_NAME"
  • 0x40 / 64 โ€” "$OBJECT_ID"
  • 0x50 / 80 โ€” "$SECURITY_DESCRIPTOR"
  • 0x60 / 96 โ€” "$VOLUME_NAME"
  • 0x70 / 112 โ€” "$VOLUME_INFORMATION"
  • 0x80 / 128 โ€” "$DATA"
  • 0x90 / 144 โ€” "$INDEX_ROOT"
  • 0xA0 / 160 โ€” "$INDEX_ALLOCATION"
  • 0xB0 / 176 โ€” "$BITMAP"
  • 0xC0 / 192 โ€” "$REPARSE_POINT"
  • 0xD0 / 208 โ€” "$EA_INFORMATION"
  • 0xE0 / 224 โ€” "$EA"
  • 0xF0 / 240 โ€” "$PROPERTY_SET"
  • 0x100 / 256 โ€” "$LOGGED_UTILITY_STREAM"

Notes: the attribute names can be given without the leading $ symbol. but if you do use the $ symbol, you gotta quote the name so the shell doesn't go feral and interpret it ๐Ÿš

  • -n, --attribute-name NAME โ€” show this named attribute, stream ๐Ÿ’–
  • -i, --inode NUM โ€” pick a file by its inode number instead of by name ๐Ÿ”ข
  • -f, --force โ€” overrides some sensible defaults, like the whole "don't use a mounted volume" thing.
โš ๏ธ bestie, use this one with caution. like, for real. ๐Ÿ™ˆ
  • -h, --help โ€” shows you the list of options with a lil description of each one ๐ŸŽ€
  • -q, --quiet โ€” suppresses some of the debug/warning/error messages ๐Ÿคซ
  • -V, --version โ€” shows the version number, copyright and license of ntfscat โญ
  • -v, --verbose โ€” shows more debug/warning/error messages. the yapper mode ๐Ÿ“ฃ

๐ŸŒˆ EXAMPLES

display the contents of a file in the root of an NTFS volume:

ntfscat /dev/hda1 boot.ini

display the contents of a file in a subdirectory of an NTFS volume:

ntfscat /dev/hda1 /winnt/system32/drivers/etc/hosts

display the contents of the $INDEX_ROOT attribute of the root directory (inode 5):

ntfscat /dev/hda1 -a INDEX_ROOT -i 5 | hexdump -C

๐Ÿ’€ BUGS

there are no known problems with ntfscat. icon behavior honestly. but if you do find a bug, please send an email describing the problem to the development team at ntfs-3g-devel@lists.sf.net โ€” they wanna know ๐Ÿซถ


๐Ÿ‘‘ AUTHORS

ntfscat was written by Richard Russon, Anton Altaparmakov and Szabolcs Szakacsits. it was ported to ntfs-3g by Erik Larsson. legends, all of them ๐Ÿ’œ


๐Ÿงš AVAILABILITY

ntfscat is part of the ntfs-3g package and is available from:

https://github.com/tuxera/ntfs-3g/wiki/

๐Ÿ“ SEE ALSO

read libntfs(8) for the details on how to access encrypted files ๐Ÿ”

libntfs(8), ntfsls(8), ntfsprogs(8)


๐Ÿ’– okay that's the whole page bestie, mwah! this one's from the ntfs-3g 2026.9.28 era, dated back in September 2007, and it lives under the manual page name NTFSCAT(8). go forth and cat some NTFS files, slay ๐Ÿ’…โœจ
๐Ÿ“ฆ where this page comes from