]> Cypherpunks.ru repositories - nncp.git/blob - doc/cmd/nncp-xfer.texi
70edaf82377c4ea8cd9ae0551e0de0ac7d90d335
[nncp.git] / doc / cmd / nncp-xfer.texi
1 @node nncp-xfer
2 @section nncp-xfer
3
4 @example
5 $ nncp-xfer [options] [-node NODE] [-mkdir] [-keep] [-rx|-tx] DIR
6 @end example
7
8 Search for directory in @file{DIR} containing inbound packets for us and
9 move them to local @ref{Spool, spool} directory. Also search for known
10 neighbours directories and move locally queued outbound packets to them.
11 This command is used for offline packets transmission.
12
13 If @option{-mkdir} option is specified, then outbound neighbour(s)
14 directories will be created. This is useful for the first time usage,
15 when storage device does not have any directories tree.
16
17 If @option{-keep} option is specified, then keep copied files, do not
18 remove them.
19
20 @option{-rx} option tells only to move inbound packets addressed to us.
21 @option{-tx} option tells exactly the opposite: move only outbound packets.
22
23 @ref{nncp-cfgmin} could be useful for creating stripped minimalistic
24 configuration file version without any private keys.
25
26 @file{DIR} directory has the following structure:
27 @file{RECIPIENT/SENDER/PACKET}, where @file{RECIPIENT} is Base32 encoded
28 destination node, @file{SENDER} is Base32 encoded sender node.
29
30 Also look for @ref{nncp-bundle}, especially if you deal with CD-ROM and
31 tape drives.