@node Commands
+@cindex commands
@unnumbered Commands
Nearly all commands have the following common options:
@table @option
+@vindex NNCPCFG
@item -cfg
- Path to configuration file. May be overridden by @env{NNCPCFG}
+ Path to configuration file. May be overridden by @env{$NNCPCFG}
environment variable. If file file is an encrypted @ref{EBlob,
eblob}, then ask for passphrase to decrypt it first.
@item -debug
Override @ref{CfgVia, via} configuration option for destination node.
Specified nodes must be separated with comma: @verb{|NODE1,NODE2|}.
With @verb{|-via -|} you can disable relaying at all.
+@vindex NNCPSPOOL
@item -spool
Override path to spool directory. May be specified by
- @env{NNCPSPOOL} environment variable.
+ @env{$NNCPSPOOL} environment variable.
+@vindex NNCPLOG
@item -log
- Override path to logfile. May be specified by @env{NNCPLOG}
+ Override path to logfile. May be specified by @env{$NNCPLOG}
environment variable.
@item -quiet
Print only errors, omit simple informational messages. In any case
those messages are logged, so you can reread them using
- @ref{nncp-log} command.
+ @command{@ref{nncp-log}} command.
@item -progress, -noprogress
Either force progress showing, or disable it.
@item -version
Print warranty information (no warranty).
@end table
+@vindex TMPDIR
+All commands respect @env{$TMPDIR} environment variable.
+
+@vindex NNCPNOSYNC
+If you set @env{$NNCPNOSYNC=1}, then all @code{fsync} operations will be
+skipped. That is dangerous option, but if there there are abilities to
+rollback possibly corrupted state to some stable snapshot, then disabled
+@code{fsync} can give considerable increase in performance.
+
@menu
Configuration file commands
* nncp-cfgnew::
* nncp-cfgmin::
* nncp-cfgenc::
+* nncp-cfgdir::
Packets creation commands
* nncp-exec::
* nncp-freq::
* nncp-trns::
+* nncp-ack::
Packets sharing commands
@include cmd/nncp-cfgnew.texi
@include cmd/nncp-cfgmin.texi
@include cmd/nncp-cfgenc.texi
+@include cmd/nncp-cfgdir.texi
@include cmd/nncp-file.texi
@include cmd/nncp-exec.texi
@include cmd/nncp-freq.texi
@include cmd/nncp-trns.texi
+@include cmd/nncp-ack.texi
@include cmd/nncp-xfer.texi
@include cmd/nncp-bundle.texi
@include cmd/nncp-toss.texi