1 .\" Copyright (c) 2003\-2005 Richard Russon.
2 .\" Copyright (c) 2007 Yura Pakhuchiy.
3 .\" This file may be copied under the terms of the GNU Public License.
5 .TH NTFSCAT 8 "September 2007" "ntfs-3g @VERSION@"
7 ntfscat \- print NTFS files and streams on the standard output
9 [\fIoptions\fR] \fIdevice \fR[\fIfile\fR]
12 will read a file or stream from an NTFS volume and display the contents
13 on the standard output.
15 The case of the filename passed to
19 Below is a summary of all the options that
21 accepts. Nearly all options have two equivalent names. The short name is
24 and the long name is preceded by
26 Any single letter options, that don't take an argument, can be combined into a
31 Long named options can be abbreviated to any unique prefix of their name.
33 \fB\-a\fR, \fB\-\-attribute\fR TYPE
34 Display the contents of a particular attribute type. By default, the unnamed
35 $DATA attribute will be shown. The attribute can be specified by a number
36 in decimal or hexadecimal, or by name.
42 0x10 16 "$STANDARD_INFORMATION"
43 0x20 32 "$ATTRIBUTE_LIST"
46 0x50 80 "$SECURITY_DESCRIPTOR"
47 0x60 96 "$VOLUME_NAME"
48 0x70 112 "$VOLUME_INFORMATION"
50 0x90 144 "$INDEX_ROOT"
51 0xA0 160 "$INDEX_ALLOCATION"
53 0xC0 192 "$REPARSE_POINT"
54 0xD0 208 "$EA_INFORMATION"
56 0xF0 240 "$PROPERTY_SET"
57 0x100 256 "$LOGGED_UTILITY_STREAM"
62 The attribute names may be given without the leading $ symbol.
64 If you use the $ symbol, you must quote the name to prevent the shell
65 interpreting the name.
67 \fB\-n\fR, \fB\-\-attribute\-name\fR NAME
68 Display this named attribute, stream.
70 \fB\-i\fR, \fB\-\-inode\fR NUM
71 Specify a file by its inode number instead of its name.
73 \fB\-f\fR, \fB\-\-force\fR
74 This will override some sensible defaults, such as not using a mounted volume.
75 Use this option with caution.
77 \fB\-h\fR, \fB\-\-help\fR
78 Show a list of options with a brief description of each one.
80 \fB\-q\fR, \fB\-\-quiet\fR
81 Suppress some debug/warning/error messages.
83 \fB\-V\fR, \fB\-\-version\fR
84 Show the version number, copyright and license
87 \fB\-v\fR, \fB\-\-verbose\fR
88 Display more debug/warning/error messages.
90 Display the contents of a file in the root of an NTFS volume.
93 .B ntfscat /dev/hda1 boot.ini
96 Display the contents of a file in a subdirectory of an NTFS volume.
99 .B ntfscat /dev/hda1 /winnt/system32/drivers/etc/hosts
102 Display the contents of the $INDEX_ROOT attribute of the root directory (inode
106 .B ntfscat /dev/hda1 \-a INDEX_ROOT \-i 5 | hexdump \-C
110 There are no known problems with
112 If you find a bug please send an email describing the problem to the
116 ntfs\-3g\-devel@lists.sf.net
120 was written by Richard Russon, Anton Altaparmakov and Szabolcs Szakacsits.
121 It was ported to ntfs-3g by Erik Larsson.
126 package and is available from:
129 http://www.tuxera.com/community/
132 Read \fBlibntfs\fR(8) for details how to access encrypted files.