ARCHIVE-PMC(1)
β¨ ARCHIVE-PMC(1) β¨
okay so bestie, welcome to archive-pmc β it's part of the NCBI Entrez Direct User's Manual and it's literally your girl for keeping a whole local NCBI PubMed Central archive. π
πΈ NAME πΈ
archive-pmc β maintain a local NCBI PubMed Central archive. yes that's the whole job. she maintains. she archives. she slays. π
π SYNOPSIS π
archive-pmc [[-]download] [[-]verify] [[-]missing]
[[-]daily|[-][re]index] [[-]stem[med]]
[[-]clean|[-]clear|[-]scrap|[-]scrub|[-]scour|[-]erase|[-]zap] [-info]
[-ftp|-http[s]]
π DESCRIPTION π
so here's the vibe: archive-pmc sets up a directory to hold a local PubMed Central archive, then it downloads a full database dump from NCBI's servers, organizes that dump into an rchive(1) trie, and refreshes the versioned records. that's it. that's the whole glow-up. β¨
π¦ OPTIONS π¦
[-]downloadβ just download the dump, bestie. no further processing, we're keeping it simple. π[-]verifyβ verify that all the downloaded files are in good shape. vibe check on your files fr fr.[-]missingβ check for missing downloads. where'd they go?? π[-]dailyβ additionally produce or update an inverted index. little extra, as a treat.[-][re]indexβ fully reindex, complete with an inverted index. the whole thing. no half measures. π₯[-]stem[med]β additionally index unsuffixed variants of terms. stemming but make it extra.[-]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. she's thorough, okay??[-]zapβ delete entire archive. β‘π
okay bestie, real talk: those delete options go from clean all the way up to zap, and zap deletes the entire archive. like, all of it. gone. so know which one you're typing before you type it. π«Ά
-infoβ check whether the archive is complete and up to date, and report what's wrong if it isn't. she'll tell you exactly what's giving. π-ftpβ download needed data via FTP. this is the default.-http[s]β download needed data via HTTPS.
π ENVIRONMENT π
EDIRECT_LOCAL_ARCHIVEβ the local archive directory to use. it's expected to hold an absolute path. πEDIRECT_LOCAL_WORKINGβ the directory to hold intermediate subtrees. also expected to hold an absolute path. when it's not set, it defaults to the local archive directory. π
β SEE ALSO β
archive-nihocc(1), archive-nlmnlp(1), archive-nmcds(1), archive-pids(1), archive-pubmed(1), archive-taxonomy(1), download-pmc(1), pm-clean(1), pm-prepare(1), pm-setup(1), nquire(1), rchive(1), xfetch(1), xfilter(1), xinfo(1), xlink(1), xsearch(1), xtract(1). go read those too, iykyk πβ¨
NCBI β 2025-05-26 π that's the source, the version and the date bestie, and that's a wrap on archive-pmc. go archive something iconic. ππ¦β¨
π¦ where this page comes from
- debian trixie: ncbi-entrez-direct 24.0.20250523+dfsg-1+b1 Β· PD
- ubuntu questing: ncbi-entrez-direct 24.0.20250523+dfsg-1
- ubuntu resolute: ncbi-entrez-direct 24.0.20250523+dfsg-2 Β· PD
- ubuntu stonking: ncbi-entrez-direct 24.0.20250523+dfsg-2 Β· PD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms