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] @{-all|-node NODE@} -pkt <<EOF
14 $ nncp-rm [options] @{-all|-node NODE@} -ack
22 This command is aimed to delete various files from your spool directory.
23 @option{-older} option may limit the subset of files to be deleted for
28 @item If @option{-tmp} option is specified, then it will delete
29 temporary files in @file{spool/tmp} directory. Files may stay in it when
30 commands like @command{@ref{nncp-file}} fail for some reason.
32 @item If @option{-lock} option is specified, then all @file{.lock} files
33 will be deleted in your spool directory.
35 @item If @option{-pkt} option is specified, then only the specified list
36 of packets (Base32 names) will be deleted. It is read from @code{stdin}.
37 This could be useful when you see some packet failing to be processed.
38 Packet identifiers may have "directories" prepended, that are ignored.
40 @item @option{-rx} and @option{-tx} options will delete packets in
41 corresponding queue directories. Corresponding @file{hdr/} files are
42 also automatically deleted.
44 @item @option{-part} option limits that to @file{.part}ly downloaded packets.
46 @item @option{-nock} option limits that to non-checksummed
47 (non-verified) @file{.nock} files.
49 @item @option{-seen} option deletes @file{seen/} files.
51 @item @option{-hdr} option deletes cached @file{hdr/} files.
53 @item @option{-area} option deletes seen files in @file{area/} subdirectories.
57 @option{-dryrun} option just prints what will be deleted.
59 @option{-older} accepts an integer with appended time unit:
62 @item @code{10s} -- 10 seconds
63 @item @code{5m} -- 5 minutes
64 @item @code{12h} -- 12 hours
65 @item @code{2d} -- 2 days