FETCH-PMC(1)
β¨ fetch-pmc β the manual, but make it make sense β¨
okay bestie, this is the FETCH-PMC(1) page from the NCBI Entrez Direct User's Manual, and I'm gonna walk you through it like we're texting at 2am π
πΈ NAME πΈ
fetch-pmc β grab records out of a local NCBI PubMed Central archive by UID. that's the whole vibe π¦
π SYNOPSIS π
fetch-pmc [-strict|-mixed] [[-path] dir]
like. that's it. that's the whole thing. iconic. π
β¨ DESCRIPTION β¨
so here's what's happening, bestie π
fetch-pmc reads a list of record IDs from standard input and prints to standard output the corresponding portions of a local NCBI PubMed archive β specifically one that was produced by archive-pmc(1).
and why do we care?? because you're typically gonna hand that output off to xtract(1) or something like it for further processing. it's giving pipeline main character energy π
π OPTIONS π
-strict|-mixedβ runsrchive(1)with-flag strictor-flag mixed, respectively. pick your fighter, both are valid πͺ[-path] dirβ use the local archive sitting in dir. yes the-pathis optional-optional, that's the brackets talking π
π ENVIRONMENT π
EDIRECT_PMC_MASTERβ the local archive directory to use when-pathisn't there. it's expected to hold an absolute path, and it is mandatory when you're not supplying a path on the command line. so like. don't skip it. fr fr π
β οΈ no cap: if you don't pass a path and you don't have EDIRECT_PMC_MASTER set, you've got nothing to fetch from. that's not a vibe check you want to fail.
π¦ SEE ALSO π¦
archive-pmc(1), rchive(1), xtract(1) β go read those too, they're part of the squad π«Ά
that's the whole page, bestie!! π this one came from NCBI, dated 2023-02-25, and honestly? it ate. now go fetch those records β¨ππΈ
π¦ where this page comes from
- debian bookworm: ncbi-entrez-direct 19.0.20230216+dfsg-2+b1 Β· PD
- ubuntu noble: ncbi-entrez-direct 19.2.20230331+dfsg-3 Β· PD
- ubuntu noble: ncbi-entrez-direct 19.2.20230331+dfsg-3ubuntu0.24.04.3 Β· PD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms