How do I limit the number of levels that the tree command goes through in Windows? I need to output the results to a text file for work, but because by default the tree command
You can try this project on Windows :
https://github.com/MrRaindrop/tree-cli
Usage:
use -l levelNumber to specify the path level:
-l
treee -l 2