archive-pmc(1)

archive-pmc1

Maintain a local ncbi pubmed central archive

Usage

archive-pmc [[-] download] [[-] verify] [[-] missing] [{[-] daily | [-] [re] index}] [[-] stem [med]] [{[-] clean | [-] clear | [-] scrap | [-] scrub | [-] scour | [-] erase | [-] zap}] [-info] [{-ftp | -http [s]}]

Overview

archive-pmc 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 rchive(1) trie, and refreshes the versioned records.

Options

[-]download

Download the dump but perform no further processing.

[-]verify

Verify that all downloaded files are in good shape.

[-]missing

Check for missing downloads.

[-]daily

Additionally produce or update an inverted index.

[-][re]index

Fully reindex, complete with an inverted index.

[-]stem[med]

Additionally index unsuffixed variants of terms.

[-]clean|[-]clear

Delete Indices contents and Increment files.

[-]scrap

Delete Postings directories.

[-]scrub

Delete Indices contents, Increment files, and Postings directories.

[-]scour

Delete Indices contents, Increment files, and Postings, Data, Archive, and Sentinel directories.

[-]erase

Delete Indices contents, Increment files, Postings, Data, Archive, and Sentinel directories, and Extras directory contents.

[-]zap

Delete entire archive.

-info

Check whether the archive is complete and up to date; report what's wrong if it isn't.

-ftp

Download needed data via FTP (default).

-http[s]

Download needed data via HTTPS.

Environment

EDIRECT_LOCAL_ARCHIVE

Local archive directory to use; expected to hold an absolute path.

EDIRECT_LOCAL_WORKING

Directory to hold intermediate subtrees; expected to hold an absolute path. Defaults to the local archive directory when not set.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

-ftp since Debian 13 (Trixie); -http since Debian 13 (Trixie); -info since Debian 13 (Trixie).

From ncbi-entrez-direct 24.0.20250523+dfsg-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.