ARCHIVE-NIHOCC(1)
π ARCHIVE-NIHOCC(1) π
okay bestie, welcome to archive-nihocc, straight out of the NCBI Entrez Direct User's Manual. she's a little script with big main character energy, and by the end of this page you two are gonna be besties. no cap. π«Ά
β¨ NAME β¨
archive-nihocc β the girl who maintains a local NIH Open Citation Collection archive. that's it, that's the job. π
πΈ SYNOPSIS πΈ
archive-nihocc [[-]daily|[-][re]index] [[-]clean|[-]clear|[-]scrub|
[-]scour|[-]scratch|[-]erase] [-ftp|-http[s]]
like, look at her. so many moods. pick one, or honestly, stack a couple β she can handle it. π
π¦ DESCRIPTION π¦
so here's the tea: archive-nihocc gets a directory all cute and ready to hold a local NIH Open Citation Collection archive, then goes and downloads a full database dump and organizes the whole thing into an rchive(1) trie. it's giving prepared. it's giving organized. it's giving downloaded a whole entire database dump and didn't even complain once. π₯
π OPTIONS π
[-]dailyβ oh, you want the extra credit? this also produces or updates an inverted index on top of everything else. lowkey the overachiever option. β[-][re]indexβ full reindex, bestie. and yes, it comes complete with an inverted index, because we don't do half measures around here. periodt. π[-]clean,[-]clear,[-]scrub,[-]scour,[-]scratch,[-]eraseβ six whole names for one job: delete Scratch directories. she has range, she has synonyms, she has a villain arc for your temp files. pick whichever one vibes with you, they all do the same thing. π-ftpβ download the needed data over FTP. this is the default, so if you do nothing, you get this. she's the moment. π-http[s]β download the needed data over HTTPS instead. for when you're feeling β¨secureβ¨ and slightly more modern about it. π
π ENVIRONMENT π
EDIRECT_LOCAL_ARCHIVEβ the local archive directory to use. it's expected to hold an absolute path, so no relative-path shenanigans, bestie, she will not be charmed by them. πEDIRECT_LOCAL_WORKINGβ the directory that holds intermediate subtrees. also expected to hold an absolute path. when it's not set, it defaults to the local archive directory. so like, if you don't tell her where to do the messy work, she just does it in the archive. relatable tbh. π«Ά
π SEE ALSO π
go follow the whole friend group, they're all iconic:
archive-nlmnlp(1), archive-nmcds(1), archive-pids(1), archive-pmc(1), archive-pubmed(1), archive-taxonomy(1), nquire(1), pm-clean(1), pm-prepare(1), pm-setup(1), rchive(1), xfetch(1), xfilter(1), xinfo(1), xlink(1), xsearch(1), xtract(1).
β οΈ quick vibe check: theclean/clear/scrub/scour/scratch/erasesituation is deleting directories. that's a real delete. so be a little careful with your paths, okay? ily but she will not undo it for you. π
and that's the whole page, bestie. brought to you by NCBI, dated 2025-05-26. go forth and archive responsibly. mwah. πβ¨ππ¦πΈπ π«Άπ
π¦ 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