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