Ticket #1420: tahoe.1

File tahoe.1, 5.5 KB (added by zooko, at 2011-06-17T03:35:19Z)
Line 
1.TH TAHOE 1 "" "tahoe User Manual"
2.SH NAME
3.PP
4tahoe - Secure distributed filesystem.
5.SH SYNOPSIS
6.PP
7tahoe [general options] [command] [command options]
8.SH GENERAL OPTIONS
9.TP
10.B \f[B]-q,\ --quiet\f[]
11Operate silently.
12.RS
13.RE
14.TP
15.B \f[B]-V,\ --version\f[]
16Display version numbers.
17.RS
18.RE
19.TP
20.B \f[B]--version-and-path\f[]
21Display version numbers and paths to their locations.
22.RS
23.RE
24.TP
25.B \f[B]-d,\ --node-directory\f[]
26Specify which Tahoe node directory should be used.
27(default for most commands: `$HOME/.tahoe')
28.RS
29.RE
30.SH COMMANDS
31.PP
32The \f[B]tahoe\f[] runner can be used for various tasks depending
33on the command used.
34.SS ADMINISTRATION
35.PP
36tahoe [command] [command options] [NODEDIR]
37.RS
38.SS COMMANDS
39.TP
40.B \f[B]create-node\f[]
41Create a node that acts as a client, server or both.
42.TP
43.B \f[B]create-client\f[]
44Create a client node (with storage initially disabled).
45.TP
46.B \f[B]create-introducer\f[]
47Create an introducer node.
48.TP
49.B \f[B]create-key-generator\f[]
50Create a key generator service.
51.TP
52.B \f[B]create-stats-gatherer\f[]
53Create a stats-gatherer service.
54.SS OPTIONS
55.TP
56.B \f[B]-C,\ --basedir=\f[]
57Same as \[em]node-directory.
58.TP
59.B \f[B]-d,\ --node-directory=\f[]
60Specify which Tahoe node directory should be used.
61(default for most commands: \f[B]$HOME/.tahoe/\f[]).
62.TP
63.B \f[B]-n,\ --nickname=\f[]
64Specify the nickname for this node (\f[B]create-node\f[] and
65\f[B]create-client\f[] only).
66.TP
67.B \f[B]-i,\ --introducer=\f[]
68Specify the introducer FURL to use (\f[B]create-node\f[] and
69\f[B]create-client\f[] only).
70.TP
71.B \f[B]-p,\ --webport=\f[]
72Specify which TCP port to run the HTTP interface on.
73Use `none' to disable.
74Default: tcp:3456:interface=127.0.0.1 (\f[B]create-node\f[] and
75\f[B]create-client\f[] only).
76.TP
77.B \f[B]--no-storage\f[]
78Do not offer storage service to other nodes (\f[B]create-node\f[]
79only).
80.RE
81.SS CONTROLLING NODES
82.PP
83tahoe [command] [command options] [NODEDIR]
84.SS COMMANDS
85.TP
86.B \f[B]start\f[]
87Start a node (of any type).
88.RS
89.RE
90.TP
91.B \f[B]stop\f[]
92Stop a node.
93.RS
94.RE
95.TP
96.B \f[B]restart\f[]
97Restart a node.
98.RS
99.RE
100.TP
101.B \f[B]run\f[]
102Run a node synchronously.
103.RS
104.RE
105.SS OPTIONS
106.TP
107.B \f[B]-p,\ --profile\f[]
108Run under the Python profiler, putting results in
109`profiling_results.prof' (use with \f[B]start\f[] or
110\f[B]restart\f[] only).
111.RS
112.RE
113.TP
114.B \f[B]--syslog\f[]
115Tell the node to log to syslog, not a file (use with \f[B]start\f[]
116or \f[B]restart\f[] only).
117.RS
118.RE
119.TP
120.B \f[B]-C,\ --basedir=\f[]
121Same as \[em]node-directory.
122.RS
123.RE
124.TP
125.B \f[B]-d,\ --node-directory=\f[]
126Specify which Tahoe node directory should be used (default for most
127commands: `$HOME/.tahoe/').
128.RS
129.RE
130.TP
131.B \f[B]--help\f[]
132Display help and exit
133.RS
134.RE
135.SS USING THE FILSYSTEM
136.TP
137.B \f[B]mkdir\f[]
138Create a new directory.
139.RS
140.RE
141.TP
142.B \f[B]add-alias\f[]
143Add a new alias cap.
144.RS
145.RE
146.TP
147.B \f[B]create-alias\f[]
148Create a new alias cap.
149.RS
150.RE
151.TP
152.B \f[B]list-aliases\f[]
153List all alias caps.
154.RS
155.RE
156.TP
157.B \f[B]ls\f[]
158List a directory.
159.RS
160.RE
161.TP
162.B \f[B]get\f[]
163Retrieve a file from the grid.
164.RS
165.RE
166.TP
167.B \f[B]put\f[]
168Upload a file into the grid.
169.RS
170.RE
171.TP
172.B \f[B]cp\f[]
173Copy one or more files or directories.
174.RS
175.RE
176.TP
177.B \f[B]rm\f[]
178Unlink a file or directory on the grid.
179.RS
180.RE
181.TP
182.B \f[B]unlink\f[]
183Unlink a file or directory on the grid (same as \f[B]rm\f[]).
184.RS
185.RE
186.TP
187.B \f[B]mv\f[]
188Move a file within the grid.
189.RS
190.RE
191.TP
192.B \f[B]ln\f[]
193Make an additional link to an existing file or directory.
194.RS
195.RE
196.TP
197.B \f[B]backup\f[]
198Make target dir look like local dir.
199.RS
200.RE
201.TP
202.B \f[B]webopen\f[]
203Open a web browser to a grid file or directory.
204.RS
205.RE
206.TP
207.B \f[B]manifest\f[]
208List all files/directories in a subtree.
209.RS
210.RE
211.TP
212.B \f[B]stats\f[]
213Print statistics about all files/directories in a subtree.
214.RS
215.RE
216.TP
217.B \f[B]check\f[]
218Check a single file or directory.
219.RS
220.RE
221.TP
222.B \f[B]deep-check\f[]
223Check all files/directories reachable from a starting point
224.RS
225.RE
226.SS OPTIONS
227.PP
228Please run `tahoe COMMAND \[em]help' for more details on each
229command.
230.SS DEBUGGING
231.PP
232tahoe debug SUBCOMMAND
233.SS SUBCOMMANDS
234.TP
235.B \f[B]dump-share\f[]
236Unpack and display the contents of a share.
237.RS
238.RE
239.TP
240.B \f[B]dump-cap\f[]
241Unpack a read-cap or write-cap.
242.RS
243.RE
244.TP
245.B \f[B]find-shares\f[]
246Locate sharefiles in node directories.
247.RS
248.RE
249.TP
250.B \f[B]catalog-shares\f[]
251Describe all shares in node dirs.
252.RS
253.RE
254.TP
255.B \f[B]corrupt-share\f[]
256Corrupt a share by flipping a bit.
257.RS
258.RE
259.TP
260.B \f[B]repl\f[]
261Open a Python interpreter.
262.RS
263.RE
264.TP
265.B \f[B]trial\f[]
266Run tests using Twisted Trial with the right imports.
267.RS
268.RE
269.PP
270Please run e.g.\ `tahoe debug dump-share \[em]help' for more
271details on each subcommand.
272.PP
273Another debugging feature is that bin/tahoe allows executing an
274arbitrary \[lq]runner\[rq] command (typically an installed Python
275script, such as `coverage'), with the Tahoe libraries on the
276PYTHONPATH.
277The runner command name is prefixed with `\@', and any occurrences
278of `\@tahoe' in its arguments are replaced by the full path to the
279tahoe script.
280.PP
281For example, if `coverage' is installed and on the PATH, you can
282use:
283.PP
284\f[CR]
285      tahoe\ \@coverage\ run\ --branch\ \@tahoe\ debug\ trial
286\f[]
287.PP
288to get branch coverage for the Tahoe test suite.
289Or, to run python with the \[en]3 option that warns about Python 3
290incompatibilities:
291.PP
292\f[CR]
293      tahoe\ \@python\ -3\ \@tahoe\ command\ [options]
294\f[]
295.SH AUTHORS
296.PP
297Tahoe-lafs has been written by Brian Warner, Zooko Wilcox-O'Hearn
298and dozens of others.
299This manpage has been written by bertagaz.
300.SH COPYRIGHT
301.PP
3022006\[en]2011 \@ AllMyData, Inc.
303.SH AUTHORS
304May 10, 2011.
305