Scroll to navigation

RCHIVE(1) NCBI Entrez Direct User's Manual RCHIVE(1)


rchive - work with a local archive of Entrez document summaries


rchive [-help] [-strict] [-mixed] [-input filename] [-archive archive indices increment] [-delete archive indices increment] [-index element] [-fetch directory] [-stream directory] [-flag strict|mixed|none] [-gzip] [-hash] [-trie [type]] [-padz] [-e2index [extras]] [-e2invert archive] [-join] [-fuse] [-merge directory field] [-promote directory field] [-path directory] [-query query] [-exact query] [-title query] [-count query] [-counts query] [-version]


rchive creates, updates, or extracts records from a local archive of Entrez document summaries.


Processing Flags

Remove HTML and MathML tags.
Allow mixed content XML.

Data Source

Read XML from file instead of standard input.

Local Record Cache

Base path for saving individual XML files, plus paths for first- and second-level inverted index caches.
Same paths as -archive, for deleting inverted caches.
Use [parent/element@attribute^version] for identifier.
Base path for retrieving XML files.
Path for retrieving compressed XML files (left compressed).
Alternative syntax for specifying the corresponding options.
Use compression for local XML files.
Print UIDs and checksum values to standard output.
Print archive (default), indices, increment, or posting[s] file path.
Pad PMIDs with leading zeros to eight characters.

Local Record Index

Create Entrez index XML. extras (true or false; false by default) indicates whether to index extra fields.
Combined -e2index and -invert in archive.
Collect subsets of inverted index files.
Combine subsets of inverted index files.
Combine inverted indices, dividing by term prefix.
Create term lists and posting files.
Path to postings directory.
Search on words or phrases in Boolean formulas.
Strict search for article round-tripping.
Exact search limited to indexed title field.
Print terms and counts, merging wildcards.
Expand wildcards; print individual term counts.


Print usage information and some example argument combinations.
Print version number.


archive-pmc(1), custom-index(1), fetch-pmc(1), fetch-pubmed(1), index-extras(1), index-pubmed(1), pm-refresh(1), stream-pubmed(1), xtract(1).

2023-02-25 NCBI