.TH ARCHIVE-NIHOCC 1 2025-05-26 NCBI "NCBI Entrez Direct User's Manual" .SH NAME archive\-nihocc \- maintain a local NIH Open Citation Collection archive .SH SYNOPSIS .B archive\-nihocc [\|[\|\fB\-\fP\|]\fBdaily\fP|[\|\fB\-\fP\|][\|\fBre\fP\|]\fBindex\fP\|] [\|[\|\fB\-\fP\|]\fBclean\fP|[\|\fB\-\fP\|]\fBclear\fP\ |[\|\fB\-\fP\|]\fBscrub\fP|\:[\|\fB\-\fP\|]\fBscour\fP\ |[\|\fB\-\fP\|]\fBscratch\fP|[\|\fB\-\fP\|]\fBerase\fP\|] [\|\fB\-ftp\fP|\fB\-http\fP[\|\fBs\fP\|]\|] .SH DESCRIPTION \fBarchive\-nihocc\fP prepares a directory to hold a local NIH Open Citation Collection archive, then downloads a full database dump and organizes it into an \fBrchive\fP(1) trie. .SH OPTIONS .TP [\|\fB\-\fP\|]\fBdaily\fP Additionally produce or update an inverted index. .TP [\|\fB\-\fP\|][\|\fBre\fP\|]\fBindex\fP Fully reindex, complete with an inverted index. .TP [\|\fB\-\fP\|]\fBclean\fP|[\|\fB\-\fP\|]\fBclear\fP|[\|\fB\-\fP\|]\fBscrub\fP|\ [\|\fB\-\fP\|]\fBscour\fP|[\|\fB\-\fP\|]\fBscratch\fP|[\|\fB\-\fP\|]\fBerase\fP Delete \fBScratch\fP directories. .TP \fB\-ftp\fP Download needed data via FTP (default). .TP \fB\-http\fP[\|\fBs\fP\|] Download needed data via HTTPS. .SH ENVIRONMENT .TP .B EDIRECT_LOCAL_ARCHIVE Local archive directory to use; expected to hold an absolute path. .TP .B EDIRECT_LOCAL_WORKING Directory to hold intermediate subtrees; expected to hold an absolute path. Defaults to the local archive directory when not set. .SH SEE ALSO .BR archive\-nlmnlp (1), .BR archive\-nmcds (1), .BR archive\-pids (1), .BR archive\-pmc (1), .BR archive\-pubmed (1), .BR archive\-taxonomy (1), .BR nquire (1), .BR pm\-clean (1), .BR pm\-prepare (1), .BR pm\-setup (1), .BR rchive (1), .BR xfetch (1), .BR xfilter (1), .BR xinfo (1), .BR xlink (1), .BR xsearch (1), .BR xtract (1).