.TH XINFO 1 2025-05-26 NCBI "NCBI Entrez Direct User's Manual" .SH NAME xinfo \- print aggregate information for a local NCBI Entrez Direct archive .SH SYNOPSIS .B xfetch .RB [\| \-h [\| elp \|]|[ \-\- \|] help \|] [\|\fB\-db\fP\ \fIdatabase\fP\|] \fB\-count\fP[\|\fBs\fP\|]\ \fIquery\fP|\fB\-fields\fP\ |\:\fB\-terms\fP\ \fIfield\fP|\fB\-totals\fP\ \fIfield\fP .SH DESCRIPTION \fBxinfo\fP prints to standard output aggregate information concerning a local NCBI Entrez Direct archive produced by \fBarchive\-pubmed\fP(1) or the like. .SH OPTIONS .TP \fB\-db\fP\ \fIdatabase\fP Fetch from the specified database, \fBpubmed\fP by default for now. (Explicitly specifying a database will eventually become mandatory.) .TP \fB\-count\fP\ \fIquery\fP Print terms and counts, merging wildcards. .TP \fB\-counts\fP\ \fIquery\fP Expand wildcards; print individual term counts. .TP \fB\-fields\fP List all field abbreviations. .TP \fB\-terms\fP\ \fIfield\fP List all known terms for the given field. .TP \fB\-totals\fP\ \fIfield\fP List all known terms for the given field along with the number of records in which each occurs. .TP .BR \-h [\| elp \|]|[ \-\- \|] help Print a summary of options and some usage examples. .SH ENVIRONMENT .TP .B EDIRECT_LOCAL_ARCHIVE Local archive directory. Expected to hold an absolute path; mandatory when not supplying a path on the command line. .SH SEE ALSO .BR archive\-nihocc (1), .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 download\-ncbi\-data (1), .BR download\-pmc (1), .BR download\-pubmed (1), .BR edict (1), .BR efetch (1), .BR filter\-columns (1), .BR pm\-refresh (1), .BR print\-columns (1), .BR rchive (1), .BR xfetch (1), .BR xfilter (1), .BR xlink (1), .BR xsearch (1), .BR xtract (1).