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