]> Cypherpunks.ru repositories - nncp.git/blob - doc/cmd/nncp-rm.texi
Add various documentation indices
[nncp.git] / doc / cmd / nncp-rm.texi
1 @node nncp-rm
2 @pindex nncp-rm
3 @section nncp-rm
4
5 @example
6 $ nncp-rm [options] -tmp
7 $ nncp-rm [options] -lock
8 $ nncp-rm [options] @{-all|-node NODE@} -part
9 $ nncp-rm [options] @{-all|-node NODE@} -seen
10 $ nncp-rm [options] @{-all|-node NODE@} -nock
11 $ nncp-rm [options] @{-all|-node NODE@} -hdr
12 $ nncp-rm [options] @{-all|-node NODE@} -area
13 $ nncp-rm [options] @{-all|-node NODE@} [-rx] [-tx]
14 $ nncp-rm [options] @{-all|-node NODE@} -pkt PKT
15 @end example
16
17 This command is aimed to delete various files from your spool directory:
18
19 @itemize
20
21 @item If @option{-tmp} option is specified, then it will delete all
22 temporary files in @file{spool/tmp} directory. Files may stay in it when
23 commands like @ref{nncp-file} fail for some reason.
24
25 @item If @option{-lock} option is specified, then all @file{.lock} files
26 will be deleted in your spool directory.
27
28 @item If @option{-pkt} option is specified, then @file{PKT} packet (its
29 Base32 name) will be deleted. This is useful when you see some packet
30 failing to be processed.
31
32 @item When either @option{-rx} or @option{-tx} options are specified
33 (maybe both of them), then delete all packets from that given queues.
34
35 @item @option{-part} option deletes @file{.part}ly downloaded files.
36
37 @item @option{-seen} option deletes @file{seen/} files. But it does not
38 apply to @ref{Multicast, multicast areas} ones!
39
40 @item @option{-nock} option deletes non-checksummed (non-verified)
41 @file{.nock} files.
42
43 @item @option{-hdr} option deletes cached @file{hdr/} files.
44
45 @item @option{-area} option deletes seen files in @file{area/} subdirectories.
46
47 @end itemize
48
49 @option{-dryrun} option just prints what will be deleted.
50
51 You can also select files that only have modification date older than specified
52 @option{-older} time units (@code{10s} (10 seconds), @code{5m} (5 minutes),
53 @code{12h} (12 hours), @code{2d} (2 days)).