ARCHIVE-PMC(1)

πŸ“¦
version 24.0.20250523 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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