]> Cypherpunks.ru repositories - nncp.git/blob - doc/cmd/nncp-toss.texi
Add various documentation indices
[nncp.git] / doc / cmd / nncp-toss.texi
1 @node nncp-toss
2 @pindex nncp-toss
3 @section nncp-toss
4
5 @example
6 $ nncp-toss [options]
7     [-node NODE]
8     [-dryrun]
9     [-cycle INT]
10     [-seen]
11     [-nofile] [-nofreq] [-noexec] [-notrns] [-noarea]
12 @end example
13
14 Perform "tossing" operation on all inbound packets. This is the tool
15 that decrypts all packets and processes all payload packets in them:
16 copies files, sends mails, sends out file requests and relays transition
17 packets. It should be run after each online/offline exchange.
18
19 @option{-dryrun} option does not perform any writing and sending, just
20 tells what it will do.
21
22 @option{-cycle} option tells not to quit, but to repeat tossing every
23 @option{INT} seconds in an infinite loop. That can be useful when
24 running this command as a daemon.
25
26 @option{-seen} option creates empty @file{seen/XXX} file after
27 successful tossing of @file{XXX} packet. @ref{nncp-xfer},
28 @ref{nncp-bundle}, @ref{nncp-daemon} and @ref{nncp-call} commands skip
29 inbound packets that has been already seen, processed and tossed. This
30 is helpful to prevent duplicates.
31
32 @option{-nofile}, @option{-nofreq}, @option{-noexec}, @option{-notrns},
33 @option{-noarea} options allow disabling any kind of packet types processing.