| 1 |
.TH ARCHIVE-PMC 1 2025-05-26 NCBI "NCBI Entrez Direct User's Manual" |
| 2 |
.SH NAME |
| 3 |
archive\-pmc \- maintain a local NCBI PubMed Central archive |
| 4 |
.SH SYNOPSIS |
| 5 |
.B archive\-pmc |
| 6 |
[\|[\|\fB\-\fP\|]\fBdownload\fP\|] |
| 7 |
[\|[\|\fB\-\fP\|]\fBverify\fP\|] |
| 8 |
[\|[\|\fB\-\fP\|]\fBmissing\fP\|] |
| 9 |
[\|[\|\fB\-\fP\|]\fBdaily\fP|[\|\fB\-\fP\|][\|\fBre\fP\|]\fBindex\fP\|] |
| 10 |
[\|[\|\fB\-\fP\|]\fBstem\fP[\|\fBmed\fP\|]\|] |
| 11 |
[\|[\|\fB\-\fP\|]\fBclean\fP|[\|\fB\-\fP\|]\fBclear\fP|\ |
| 12 |
[\|\fB\-\fP\|]\fBscrap\fP|[\|\fB\-\fP\|]\fBscrub\fP|[\|\fB\-\fP\|]\fBscour\fP\ |
| 13 |
|\:[\|\fB\-\fP\|]\fBerase\fP|[\|\fB\-\fP\|]\fBzap\fP\|] |
| 14 |
[\|\fB\-info\fP\|] |
| 15 |
[\|\fB\-ftp\fP|\fB\-http\fP[\|\fBs\fP\|]\|] |
| 16 |
.SH DESCRIPTION |
| 17 |
\fBarchive\-pmc\fP prepares a directory |
| 18 |
to hold a local PubMed Central archive, |
| 19 |
then downloads a full database dump from NCBI's servers, |
| 20 |
organizes the dump into an \fBrchive\fP(1) trie, |
| 21 |
and refreshes the versioned records. |
| 22 |
.SH OPTIONS |
| 23 |
.TP |
| 24 |
[\|\fB\-\fP\|]\fBdownload\fP |
| 25 |
Download the dump but perform no further processing. |
| 26 |
.TP |
| 27 |
[\|\fB\-\fP\|]\fBverify\fP |
| 28 |
Verify that all downloaded files are in good shape. |
| 29 |
.TP |
| 30 |
[\|\fB\-\fP\|]\fBmissing\fP |
| 31 |
Check for missing downloads. |
| 32 |
.TP |
| 33 |
[\|\fB\-\fP\|]\fBdaily\fP |
| 34 |
Additionally produce or update an inverted index. |
| 35 |
.TP |
| 36 |
[\|\fB\-\fP\|][\|\fBre\fP\|]\fBindex\fP |
| 37 |
Fully reindex, complete with an inverted index. |
| 38 |
.TP |
| 39 |
[\|\fB\-\fP\|]\fBstem\fP[\|\fBmed\fP\|] |
| 40 |
Additionally index unsuffixed variants of terms. |
| 41 |
.TP |
| 42 |
[\|\fB\-\fP\|]\fBclean\fP|[\|\fB\-\fP\|]\fBclear\fP |
| 43 |
Delete \fBIndices\fP contents and \fBIncrement\fP files. |
| 44 |
.TP |
| 45 |
[\|\fB\-\fP\|]\fBscrap\fP |
| 46 |
Delete \fBPostings\fP directories. |
| 47 |
.TP |
| 48 |
[\|\fB\-\fP\|]\fBscrub\fP |
| 49 |
Delete \fBIndices\fP contents, \fBIncrement\fP files, |
| 50 |
and \fBPostings\fP directories. |
| 51 |
.TP |
| 52 |
[\|\fB\-\fP\|]\fBscour\fP |
| 53 |
Delete \fBIndices\fP contents, \fBIncrement\fP files, |
| 54 |
and \fBPostings\fP, \fBData\fP, \fBArchive\fP, and \fBSentinel\fP directories. |
| 55 |
.TP |
| 56 |
[\|\fB\-\fP\|]\fBerase\fP |
| 57 |
Delete \fBIndices\fP contents, \fBIncrement\fP files, |
| 58 |
\fBPostings\fP, \fBData\fP, \fBArchive\fP, and \fBSentinel\fP directories, |
| 59 |
and \fBExtras\fP directory contents. |
| 60 |
.TP |
| 61 |
[\|\fB\-\fP\|]\fBzap\fP |
| 62 |
Delete entire archive. |
| 63 |
.TP |
| 64 |
\fB\-info\fP |
| 65 |
Check whether the archive is complete and up to date; |
| 66 |
report what's wrong if it isn't. |
| 67 |
.TP |
| 68 |
\fB\-ftp\fP |
| 69 |
Download needed data via FTP (default). |
| 70 |
.TP |
| 71 |
\fB\-http\fP[\|\fBs\fP\|] |
| 72 |
Download needed data via HTTPS. |
| 73 |
.SH ENVIRONMENT |
| 74 |
.TP |
| 75 |
.B EDIRECT_LOCAL_ARCHIVE |
| 76 |
Local archive directory to use; expected to hold an absolute path. |
| 77 |
.TP |
| 78 |
.B EDIRECT_LOCAL_WORKING |
| 79 |
Directory to hold intermediate subtrees; |
| 80 |
expected to hold an absolute path. |
| 81 |
Defaults to the local archive directory when not set. |
| 82 |
.SH SEE ALSO |
| 83 |
.BR archive\-nihocc (1), |
| 84 |
.BR archive\-nlmnlp (1), |
| 85 |
.BR archive\-nmcds (1), |
| 86 |
.BR archive\-pids (1), |
| 87 |
.BR archive\-pubmed (1), |
| 88 |
.BR archive\-taxonomy (1), |
| 89 |
.BR download\-pmc (1), |
| 90 |
.BR pm\-clean (1), |
| 91 |
.BR pm\-prepare (1), |
| 92 |
.BR pm\-setup (1), |
| 93 |
.BR nquire (1), |
| 94 |
.BR rchive (1), |
| 95 |
.BR xfetch (1), |
| 96 |
.BR xfilter (1), |
| 97 |
.BR xinfo (1), |
| 98 |
.BR xlink (1), |
| 99 |
.BR xsearch (1). |
| 100 |
.BR xtract (1). |