6 $ nncp-rm [options] [-older X] -tmp
7 $ nncp-rm [options] -lock
8 $ nncp-rm [options] [-older X] @{-all|-node NODE@} -part
9 $ nncp-rm [options] [-older X] @{-all|-node NODE@} -seen
10 $ nncp-rm [options] [-older X] @{-all|-node NODE@} -nock
11 $ nncp-rm [options] [-older X] @{-all|-node NODE@} -area
12 $ nncp-rm [options] [-older X] @{-all|-node NODE@} @{-rx|-tx@} [-hdr]
13 $ nncp-rm [options] [-older X] @{-all|-node NODE@} -pkt <<EOF
21 This command is aimed to delete various files from your spool directory.
22 @option{-older} option may limit the subset of files to be deleted for
27 @item If @option{-tmp} option is specified, then it will delete
28 temporary files in @file{spool/tmp} directory. Files may stay in it when
29 commands like @command{@ref{nncp-file}} fail for some reason.
31 @item If @option{-lock} option is specified, then all @file{.lock} files
32 will be deleted in your spool directory.
34 @item If @option{-pkt} option is specified, then only the specified list
35 of packets (Base32 names) will be deleted. It is read from @code{stdin}.
36 This could be useful when you see some packet failing to be processed.
37 Packet identifiers may have "directories" prepended, that are ignored.
39 @item @option{-rx} and @option{-tx} options will delete packets in
40 corresponding queue directories. Corresponding @file{hdr/} files are
41 also automatically deleted.
43 @item @option{-part} option limits that to @file{.part}ly downloaded packets.
45 @item @option{-nock} option limits that to non-checksummed
46 (non-verified) @file{.nock} files.
48 @item @option{-seen} option deletes @file{seen/} files.
50 @item @option{-hdr} option deletes cached @file{hdr/} files.
52 @item @option{-area} option deletes seen files in @file{area/} subdirectories.
56 @option{-dryrun} option just prints what will be deleted.
58 @option{-older} accepts an integer with appended time unit:
61 @item @code{10s} -- 10 seconds
62 @item @code{5m} -- 5 minutes
63 @item @code{12h} -- 12 hours
64 @item @code{2d} -- 2 days