NXDIR(1)
π NAME π
nxdir β bestie, it inspects a NeXus file non interactively. No GUI, no clicking, just vibes and output. β¨
πΈ SYNOPSIS πΈ
nxdir filename [options]
π¦ DESCRIPTION π¦
So nxdir lets you retrieve the structure and/or data of a NeXus file. That's it, that's the whole assignment. Point it at a file, it shows you what's inside. Lowkey iconic. π
β¨ OPTIONS β¨
π About NXdir
-h,--helpβ prints help info and dips out. Bye! π--versionβ prints version info and dips out. Also bye. π«Ά
π Node Selection
-ppath β the path inside the file you wanna look in. Fr fr it can be absolute or relative, and it can be the class or the name of a given field. Wanna anchor that path at the beginning or the end? Slap a/there. Wanna say "this level has to exist but the name or class can be literally anything"? Use a dot.. Wanna say "any number of levels can exist here"? That's a star*, bestie. β
π Output Control
-o/+oβ print (or don't print) the value of the selected nodes, if possible. Defaults to false (+o). She's shy by default. π-l,--max-arrayβ changes how many elements get printed for arrays. Heads up: this forces-o. Default is10. π₯-t,--tree-modevalue β sets the formatting of the tree. Allowed values are:script,multi,tree. Default isscript. β¨--path-modevalue β picks whether paths get written with names or classes. Allowed values are:name,class,both. Default isname.--data-modevalue β how the data is printed. Allowed value isscript.--printlinevalue β how data is printed with respect to the tree. Allowed values issingle. (yes bestie, "values is", I'm quoting the source, don't come for me π)--write-datafilename β pick a file to write out selected NXdata to. π--dumpfilename β generate a binary dump of the selected node. Binary. Dump. No notes. π
π SEE ALSO π
nxbrowse(1) and http://www.nexusformat.org β go check them out, iykyk π§
π«Ά AUTHOR π«Ά
nxdir was originally written by P. F. Peterson <petersonpf@ornl.gov> π
This manual page was written by Tobias Richter <Tobias.Richter@diamond.ac.uk> and may be used by others.
okay that's the whole page, we ate and left no crumbs β¨ this was the nxdir(1) page from the General Commands Manual, dated June 2010, and yeah it's versioned NXDIR(1) β periodt. π
π
π¦ where this page comes from
- debian bookworm: nexus-tools 4.4.3-5
- debian trixie: nexus-tools 4.4.3-7
- epel 10: nexus-tools 4.4.3-11.el10_0 Β· LGPLv2+ and MIT
- epel 9: nexus-tools 4.4.3-10.el9 Β· LGPLv2+ and MIT
- fedora 43: nexus-tools 4.4.3-21.fc43 Β· LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-MIT
- fedora 44: nexus-tools 4.4.3-21.fc43 Β· LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-MIT
- fedora 44: nexus-tools 4.4.3-25.fc44 Β· LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-MIT
- ubuntu jammy: nexus-tools 4.4.3-5
- ubuntu noble: nexus-tools 4.4.3-6build3
- ubuntu questing: nexus-tools 4.4.3-7build1
- ubuntu resolute: nexus-tools 4.4.3-10
- ubuntu stonking: nexus-tools 4.4.3-11build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms