ARCHIVE-PUBMED(1)
πΎ ARCHIVE-PUBMED(1) πΎ
okay bestie, welcome to the NCBI Entrez Direct User's Manual page for archive-pubmed β yes that's the manual name, we're not copying the header line, we're folding it in like a lil name tag at the party π
β¨ NAME β¨
archive-pubmed β bestie, it maintains a local NCBI PubMed archive. that's it, that's the whole job π
πΈ SYNOPSIS πΈ
archive-pubmed [[-]download] [[-]verify] [[-]missing] [[-]daily|
[-][re]index] [[-]stem[med]] [[-]clean|[-]clear|[-]scrap|[-]scrub|
[-]scour|[-]erase|[-]zap] [-info] [-ftp|-http[s]]
like, look at all those brackets. it's giving "choose your own adventure" π
π¦ DESCRIPTION π¦
so here's the vibe: archive-pubmed prepares a directory to hold a local PubMed archive, then it goes and downloads a full database dump and auxiliary vocabulary data from NCBI's servers, then it organizes the dump into an rchive(1) trie, and then it refreshes the versioned records.
setup β‘οΈ download β‘οΈ organize β‘οΈ refresh. main character pipeline energy, no cap π
π OPTIONS π
[-]downloadβ just download the dump, bestie. no further processing, we're not doing extra credit today.[-]verifyβ double-check that every single downloaded file is in good shape. vibe check on your files fr fr β¨[-]missingβ hunt for downloads that are missing. where did they go π[-]dailyβ on top of everything else, produce or update an inverted index. lil daily routine π[-][re]indexβ do a full reindex, inverted index and all. the whole thing. periodt.[-]clean|[-]clearβ deletesIndicescontents andIncrementfiles. poof π«Ά[-]scrapβ deletesPostingsdirectories. bye π[-]scrubβ deletesIndicescontents,Incrementfiles, andPostingsdirectories. it's escalating π[-]scourβ deletesIndicescontents,Incrementfiles, andPostings,Data,Archive, andSentineldirectories. okay this one has range.[-]eraseβ deletesIndicescontents,Incrementfiles,Postings,Data,Archive, andSentineldirectories, andExtrasdirectory contents. literally nothing is safe π[-]zapβ delete the entire archive. absolutely unhinged. icon behaviour. β‘
β οΈ heads up bestie:clean/clear,scrap,scrub,scour,erase, andzapare all destructive. each one deletes more than the last.zaptakes the whole archive. read twice, run once, no cap π
-infoβ check whether the archive is complete and up to date, and if it isn't, report exactly what's wrong. your honest bestie π-ftpβ download the needed data via FTP. this is the default, iykyk.-http[s]β download the needed data via HTTPS instead. secure girlie behaviour π₯[-path]dir β put the local archive in dir. choose your home π‘[-temp|-work[ing]]dir β put intermediate subtrees in dir. the lil in-between zone π§
π ENVIRONMENT π
EDIRECT_LOCAL_ARCHIVEβ the local archive directory to use. it's expected to hold an absolute path. no relative nonsense pls.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. cute, it just stays home π«Ά
π SEE ALSO π
archive-nihocc(1), archive-nlmnlp(1), archive-nmcds(1), archive-pids(1), archive-pmc(1), archive-taxonomy(1), cit2pmid(1), custom-index(1), download-ncbi-data(1), download-pubmed(1), edict(1), expand-current(1), nquire(1), pm-clean(1), pm-collect(1), pm-prepare(1), pm-refresh(1), pm-setup(1), rchive(1), ref2pmid(1), xfetch(1), xfilter(1), xinfo(1), xlink(1), xsearch(1). xtract(1).
the whole friend group, assembled π (yes, that period before xtract(1) is canon, we keep the facts exactly as they are β¨)
that's the whole page bestie, go forth and archive responsibly πΈ
NCBI Β· 2025-05-26 β mwah, love u, bye πππ¦
π¦ 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