Debian Codegraph @

debian/man/pm-clean.1

raw
1 .TH PM-CLEAN 1 2025-05-26 NCBI "NCBI Entrez Direct User's Manual"
2 .SH NAME
3 pm\-clean \- clean a local NCBI Entrez Direct archive
4 .SH SYNOPSIS
5 .B pm\-clean
6 \fB\-db\fP\ \fIdatabase\fP
7 [\|\fB\-fields\fP\ \fIfields\fP\|]
8 [\|\fB\-\fP\|]\fBclean\fP|[\|\fB\-\fP\|]\fBclear\fP|[\|\fB\-\fP\|]\fBscrap\fP\
9 |\:[\|\fB\-\fP\|]\fBscrub\fP|[\|\fB\-\fP\|]\fBscour\fP\
10 |[\|\fB\-\fP\|]\fBerase\fP|[\|\fB\-\fP\|]\fBzap\fP|[\|\fB\-\fP\|]\fBscratch\fP
11 .SH DESCRIPTION
12 \fBpm\-clean\fP cleans part or all of a local NCBI Entrez Direct archive.
13 .SH OPTIONS
14 .TP
15 \fB\-db\fP\ \fIdatabase\fP
16 Specific database to clean.
17 .TP
18 \fB\-fields\fP\ \fIfields\fP
19 \fBPostings\fP directories to delete in \fB\-scratch\fP mode;
20 \fBnone\fP by default.
21 Whitespace serves as the only delimiter,
22 typically entailing shell quoting.
23 .TP
24 [\|\fB\-\fP\|]\fBclean\fP|[\|\fB\-\fP\|]\fBclear\fP
25 Delete \fBIndices\fP contents and \fBIncrement\fP files.
26 .TP
27 [\|\fB\-\fP\|]\fBscrap\fP
28 Delete all \fBPostings\fP directories.
29 .TP
30 [\|\fB\-\fP\|]\fBscrub\fP
31 Delete \fBIndices\fP contents, \fBIncrement\fP files,
32 and all \fBPostings\fP directories.
33 .TP
34 [\|\fB\-\fP\|]\fBscour\fP
35 Delete \fBIndices\fP contents, \fBIncrement\fP files,
36 and all \fBPostings\fP, \fBData\fP, \fBArchive\fP,
37 and \fBSentinel\fP directories.
38 .TP
39 [\|\fB\-\fP\|]\fBerase\fP
40 Delete \fBIndices\fP contents, \fBIncrement\fP files,
41 all \fBPostings\fP, \fBData\fP, \fBArchive\fP, and \fBSentinel\fP directories,
42 and \fBExtras\fP directory contents.
43 .TP
44 [\|\fB\-\fP\|]\fBzap\fP
45 Delete entire archive.
46 .TP
47 [\|\fB\-\fP\|]\fBscratch\fP
48 Delete \fBScratch\fP directories
49 and any \fBPostsings\fP directories specified by \fB\-fields\fP.
50 .SH ENVIRONMENT
51 .TP
52 .B EDIRECT_LOCAL_ARCHIVE
53 Local archive directory to use; expected to hold an absolute path.
54 .SH SEE ALSO
55 .BR archive\-nihocc (1),
56 .BR archive\-nlmnlp (1),
57 .BR archive\-nmcds (1),
58 .BR archive\-pids (1),
59 .BR archive\-pmc (1),
60 .BR archive\-pubmed (1),
61 .BR archive\-taxonomy (1),
62 .BR pm\-prepare (1),
63 .BR pm\-refresh (1),
64 .BR rchive (1).