XDTREE: Stata module to display a directory's structure in a tree-like format
Yongyi Zeng (),
Yancheng Chen () and
Bowen Wang ()
Additional contact information
Yongyi Zeng: School of Management, Xiamen University, China
Yancheng Chen: School of Management, Xiamen University, China
Bowen Wang: School of Management, Xiamen University, China
Statistical Software Components from Boston College Department of Economics
Abstract:
xdtree displays directory contents as a text tree in Stata's Results window. It supports recursive traversal, a configurable depth limit, and filename filtering using wildcard patterns or regular expressions, with options to invert matches and ignore case. Users can also request that the directory be opened in the operating system's file browser. The command can be used independently or by xproj to inspect a project's directory structure. This utility was previously distributed on my personal site under the name dirtree. It has been renamed to avoid conflict with Maarten Buis's SSC package of that name. It is not an update to, or a replacement for, his package.
Language: Stata
Requires: Stata version 14
Keywords: directory; tree; workflow (search for similar items in EconPapers)
Date: 2026-11-16
Note: This module should be installed from within Stata by typing "ssc install xdtree". The module is made available under terms of the MIT license (https://opensource.org/licenses/MIT).
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/x/xdtree.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xdtree.sthlp help file (text/plain)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s460032
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().