]> Cypherpunks.ru repositories - nncp.git/blob - doc/cmd/index.texi
5727db82ba9538656e363d5ab19c4de3fb35aa1f
[nncp.git] / doc / cmd / index.texi
1 @node Commands
2 @unnumbered Commands
3
4 Nearly all commands have the following common options:
5
6 @table @option
7 @item -cfg
8     Path to configuration file. May be overridden by @env{$NNCPCFG}
9     environment variable. If file file is an encrypted @ref{EBlob,
10     eblob}, then ask for passphrase to decrypt it first.
11 @item -debug
12     Print debug messages. Normally this option should not be used.
13 @item -minsize
14     @anchor{OptMinSize}
15     Minimal required resulting packet size, in KiBs. For example if you
16     send 2 KiB file and set @option{-minsize 4}, then resulting packet
17     will be 4 KiB (containing file itself and some junk).
18 @item -nice
19     Set desired outgoing packet @ref{Niceness, niceness level}.
20 @item -replynice
21     Set desired reply packet @ref{Niceness, niceness level}. Only freq
22     and exec packets look at that niceness level.
23 @item -via
24     Override @ref{CfgVia, via} configuration option for destination node.
25     Specified nodes must be separated with comma: @verb{|NODE1,NODE2|}.
26     With @verb{|-via -|} you can disable relaying at all.
27 @item -spool
28     Override path to spool directory. May be specified by
29     @env{$NNCPSPOOL} environment variable.
30 @item -log
31     Override path to logfile. May be specified by @env{$NNCPLOG}
32     environment variable.
33 @item -quiet
34     Print only errors, omit simple informational messages. In any case
35     those messages are logged, so you can reread them using
36     @ref{nncp-log} command.
37 @item -progress, -noprogress
38     Either force progress showing, or disable it.
39 @item -version
40     Print version information.
41 @item -warranty
42     Print warranty information (no warranty).
43 @end table
44
45 @menu
46 Configuration file commands
47
48 * nncp-cfgnew::
49 * nncp-cfgmin::
50 * nncp-cfgenc::
51 * nncp-cfgdir::
52
53 Packets creation commands
54
55 * nncp-file::
56 * nncp-exec::
57 * nncp-freq::
58 * nncp-trns::
59
60 Packets sharing commands
61
62 * nncp-xfer::
63 * nncp-bundle::
64
65 Checking and tossing commands
66
67 * nncp-toss::
68 * nncp-check::
69 * nncp-reass::
70
71 Online synchronization protocol commands
72
73 * nncp-daemon::
74 * nncp-call::
75 * nncp-caller::
76 * nncp-cronexpr::
77
78 Maintenance, monitoring and debugging commands:
79
80 * nncp-stat::
81 * nncp-log::
82 * nncp-rm::
83 * nncp-pkt::
84 * nncp-hash::
85 @end menu
86
87 @include cmd/nncp-cfgnew.texi
88 @include cmd/nncp-cfgmin.texi
89 @include cmd/nncp-cfgenc.texi
90 @include cmd/nncp-cfgdir.texi
91 @include cmd/nncp-file.texi
92 @include cmd/nncp-exec.texi
93 @include cmd/nncp-freq.texi
94 @include cmd/nncp-trns.texi
95 @include cmd/nncp-xfer.texi
96 @include cmd/nncp-bundle.texi
97 @include cmd/nncp-toss.texi
98 @include cmd/nncp-check.texi
99 @include cmd/nncp-reass.texi
100 @include cmd/nncp-daemon.texi
101 @include cmd/nncp-call.texi
102 @include cmd/nncp-caller.texi
103 @include cmd/nncp-cronexpr.texi
104 @include cmd/nncp-stat.texi
105 @include cmd/nncp-log.texi
106 @include cmd/nncp-rm.texi
107 @include cmd/nncp-pkt.texi
108 @include cmd/nncp-hash.texi