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 <<EOF
22 This command is aimed to delete various files from your spool directory:
26 @item If @option{-tmp} option is specified, then it will delete all
27 temporary files in @file{spool/tmp} directory. Files may stay in it when
28 commands like @command{@ref{nncp-file}} fail for some reason.
30 @item If @option{-lock} option is specified, then all @file{.lock} files
31 will be deleted in your spool directory.
33 @item If @option{-pkt} option is specified, then list of packets (Base32
34 names) toe be deleted is read from @code{stdin}. This could be useful
35 when you see some packet failing to be processed. Packet identifiers
36 could have "directories" prepended, that are ignored.
38 @item When either @option{-rx} or @option{-tx} options are specified
39 (maybe both of them), then delete all packets from that given queues.
41 @item @option{-part} option deletes @file{.part}ly downloaded files.
43 @item @option{-seen} option deletes @file{seen/} files. But it does not
44 apply to @ref{Multicast, multicast areas} ones!
46 @item @option{-nock} option deletes non-checksummed (non-verified)
49 @item @option{-hdr} option deletes cached @file{hdr/} files.
51 @item @option{-area} option deletes seen files in @file{area/} subdirectories.
55 @option{-dryrun} option just prints what will be deleted.
57 You can also select files that only have modification date older than specified
58 @option{-older} time units (@code{10s} (10 seconds), @code{5m} (5 minutes),
59 @code{12h} (12 hours), @code{2d} (2 days)).