summaryrefslogtreecommitdiff
path: root/ntfsprogs/ntfscat.8.in (plain)
blob: 478d9b4b233983296463a8ad395135ea79e6fd92
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.
4.\"
5.TH NTFSCAT 8 "September 2007" "ntfs-3g @VERSION@"
6.SH NAME
7ntfscat \- print NTFS files and streams on the standard output
8.SH SYNOPSIS
9[\fIoptions\fR] \fIdevice \fR[\fIfile\fR]
10.SH DESCRIPTION
11.B ntfscat
12will read a file or stream from an NTFS volume and display the contents
13on the standard output.
14.PP
15The case of the filename passed to
16.B ntfscat
17is ignored.
18.SH OPTIONS
19Below is a summary of all the options that
20.B ntfscat
21accepts. Nearly all options have two equivalent names. The short name is
22preceded by
23.B \-
24and the long name is preceded by
25.BR \-\- .
26Any single letter options, that don't take an argument, can be combined into a
27single command, e.g.
28.B \-fv
29is equivalent to
30.BR "\-f \-v" .
31Long named options can be abbreviated to any unique prefix of their name.
32.TP
33\fB\-a\fR, \fB\-\-attribute\fR TYPE
34Display 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
36in decimal or hexadecimal, or by name.
37.TS
38box;
39lB lB lB
40l l l.
41Hex Decimal Name
420x10 16 "$STANDARD_INFORMATION"
430x20 32 "$ATTRIBUTE_LIST"
440x30 48 "$FILE_NAME"
450x40 64 "$OBJECT_ID"
460x50 80 "$SECURITY_DESCRIPTOR"
470x60 96 "$VOLUME_NAME"
480x70 112 "$VOLUME_INFORMATION"
490x80 128 "$DATA"
500x90 144 "$INDEX_ROOT"
510xA0 160 "$INDEX_ALLOCATION"
520xB0 176 "$BITMAP"
530xC0 192 "$REPARSE_POINT"
540xD0 208 "$EA_INFORMATION"
550xE0 224 "$EA"
560xF0 240 "$PROPERTY_SET"
570x100 256 "$LOGGED_UTILITY_STREAM"
58.TE
59.sp
60.sp
61.B Notes
62The attribute names may be given without the leading $ symbol.
63.br
64If you use the $ symbol, you must quote the name to prevent the shell
65interpreting the name.
66.TP
67\fB\-n\fR, \fB\-\-attribute\-name\fR NAME
68Display this named attribute, stream.
69.TP
70\fB\-i\fR, \fB\-\-inode\fR NUM
71Specify a file by its inode number instead of its name.
72.TP
73\fB\-f\fR, \fB\-\-force\fR
74This will override some sensible defaults, such as not using a mounted volume.
75Use this option with caution.
76.TP
77\fB\-h\fR, \fB\-\-help\fR
78Show a list of options with a brief description of each one.
79.TP
80\fB\-q\fR, \fB\-\-quiet\fR
81Suppress some debug/warning/error messages.
82.TP
83\fB\-V\fR, \fB\-\-version\fR
84Show the version number, copyright and license
85.BR ntfscat .
86.TP
87\fB\-v\fR, \fB\-\-verbose\fR
88Display more debug/warning/error messages.
89.SH EXAMPLES
90Display the contents of a file in the root of an NTFS volume.
91.RS
92.sp
93.B ntfscat /dev/hda1 boot.ini
94.sp
95.RE
96Display the contents of a file in a subdirectory of an NTFS volume.
97.RS
98.sp
99.B ntfscat /dev/hda1 /winnt/system32/drivers/etc/hosts
100.sp
101.RE
102Display the contents of the $INDEX_ROOT attribute of the root directory (inode
1035).
104.RS
105.sp
106.B ntfscat /dev/hda1 \-a INDEX_ROOT \-i 5 | hexdump \-C
107.sp
108.RE
109.SH BUGS
110There are no known problems with
111.BR ntfscat .
112If you find a bug please send an email describing the problem to the
113development team:
114.br
115.nh
116ntfs\-3g\-devel@lists.sf.net
117.hy
118.SH AUTHORS
119.B ntfscat
120was written by Richard Russon, Anton Altaparmakov and Szabolcs Szakacsits.
121It was ported to ntfs-3g by Erik Larsson.
122.SH AVAILABILITY
123.B ntfscat
124is part of the
125.B ntfs-3g
126package and is available from:
127.br
128.nh
129http://www.tuxera.com/community/
130.hy
131.SH SEE ALSO
132Read \fBlibntfs\fR(8) for details how to access encrypted files.
133.sp
134.BR libntfs (8),
135.BR ntfsls (8),
136.BR ntfsprogs (8)
137