]> Cypherpunks.ru repositories - nncp.git/blob - doc/cmd/nncp-check.texi
4a257af99ae9c3709f80b75874c79a233892d708
[nncp.git] / doc / cmd / nncp-check.texi
1 @node nncp-check
2 @section nncp-check
3
4 @example
5 $ nncp-check [-nock] [-cycle INT] [options]
6 @end example
7
8 Perform @ref{Spool, spool} directory integrity check. Read all files
9 that has Base32-encoded filenames and compare it with recalculated
10 @ref{MTH} hash output of their contents.
11
12 The most useful mode of operation is with @option{-nock} option, that
13 checks integrity of @file{.nock} files, renaming them to ordinary
14 (verified) encrypted packets.
15
16 @option{-cycle} option tells not to quit, but to repeat checking every
17 @option{INT} seconds in an infinite loop. That can be useful when
18 running this command as a daemon.