.TH ARCHIVE-PMC 1 2025-05-26 NCBI "NCBI Entrez Direct User's Manual" .SH NAME archive\-pmc \- maintain a local NCBI PubMed Central archive .SH SYNOPSIS .B archive\-pmc [\|[\|\fB\-\fP\|]\fBdownload\fP\|] [\|[\|\fB\-\fP\|]\fBverify\fP\|] [\|[\|\fB\-\fP\|]\fBmissing\fP\|] [\|[\|\fB\-\fP\|]\fBdaily\fP|[\|\fB\-\fP\|][\|\fBre\fP\|]\fBindex\fP\|] [\|[\|\fB\-\fP\|]\fBstem\fP[\|\fBmed\fP\|]\|] [\|[\|\fB\-\fP\|]\fBclean\fP|[\|\fB\-\fP\|]\fBclear\fP|\ [\|\fB\-\fP\|]\fBscrap\fP|[\|\fB\-\fP\|]\fBscrub\fP|[\|\fB\-\fP\|]\fBscour\fP\ |\:[\|\fB\-\fP\|]\fBerase\fP|[\|\fB\-\fP\|]\fBzap\fP\|] [\|\fB\-info\fP\|] [\|\fB\-ftp\fP|\fB\-http\fP[\|\fBs\fP\|]\|] .SH DESCRIPTION \fBarchive\-pmc\fP prepares a directory to hold a local PubMed Central archive, then downloads a full database dump from NCBI's servers, organizes the dump into an \fBrchive\fP(1) trie, and refreshes the versioned records. .SH OPTIONS .TP [\|\fB\-\fP\|]\fBdownload\fP Download the dump but perform no further processing. .TP [\|\fB\-\fP\|]\fBverify\fP Verify that all downloaded files are in good shape. .TP [\|\fB\-\fP\|]\fBmissing\fP Check for missing downloads. .TP [\|\fB\-\fP\|]\fBdaily\fP Additionally produce or update an inverted index. .TP [\|\fB\-\fP\|][\|\fBre\fP\|]\fBindex\fP Fully reindex, complete with an inverted index. .TP [\|\fB\-\fP\|]\fBstem\fP[\|\fBmed\fP\|] Additionally index unsuffixed variants of terms. .TP [\|\fB\-\fP\|]\fBclean\fP|[\|\fB\-\fP\|]\fBclear\fP Delete \fBIndices\fP contents and \fBIncrement\fP files. .TP [\|\fB\-\fP\|]\fBscrap\fP Delete \fBPostings\fP directories. .TP [\|\fB\-\fP\|]\fBscrub\fP Delete \fBIndices\fP contents, \fBIncrement\fP files, and \fBPostings\fP directories. .TP [\|\fB\-\fP\|]\fBscour\fP Delete \fBIndices\fP contents, \fBIncrement\fP files, and \fBPostings\fP, \fBData\fP, \fBArchive\fP, and \fBSentinel\fP directories. .TP [\|\fB\-\fP\|]\fBerase\fP Delete \fBIndices\fP contents, \fBIncrement\fP files, \fBPostings\fP, \fBData\fP, \fBArchive\fP, and \fBSentinel\fP directories, and \fBExtras\fP directory contents. .TP [\|\fB\-\fP\|]\fBzap\fP Delete entire archive. .TP \fB\-info\fP Check whether the archive is complete and up to date; report what's wrong if it isn't. .TP \fB\-ftp\fP Download needed data via FTP (default). .TP \fB\-http\fP[\|\fBs\fP\|] Download needed data via HTTPS. .SH ENVIRONMENT .TP .B EDIRECT_LOCAL_ARCHIVE Local archive directory to use; expected to hold an absolute path. .TP .B EDIRECT_LOCAL_WORKING Directory to hold intermediate subtrees; expected to hold an absolute path. Defaults to the local archive directory when not set. .SH SEE ALSO .BR archive\-nihocc (1), .BR archive\-nlmnlp (1), .BR archive\-nmcds (1), .BR archive\-pids (1), .BR archive\-pubmed (1), .BR archive\-taxonomy (1), .BR download\-pmc (1), .BR pm\-clean (1), .BR pm\-prepare (1), .BR pm\-setup (1), .BR nquire (1), .BR rchive (1), .BR xfetch (1), .BR xfilter (1), .BR xinfo (1), .BR xlink (1), .BR xsearch (1). .BR xtract (1).