Linux bash command tree level & tree ignore All In One
Linux bash command tree level & tree ignore All In One
Node.js
tree ignore
tree -I
# ignore one folder
$ tree -I node_modules
# ignore multi folders
$ tree -I "node_modules|cache|test_*"
$ tree -I "node_modules|bower_components"
https://unix.stackexchange.com/a/47806
https://zaiste.net/tree_ignore_directories_with_patterns/
tree level
tree -L
# tree level
$ tree -L 1
$ tree -L 2
$ tree -L 3
# tree level with tree ignore folder
$ tree -L 3 -I "node_modules"
$ tree -L 2 -I "000-xyz"
# tree level with tree ignore multi folders
$ tree -L 3 -I "node_modules|bower_components"
demos
# tree level with tree ignore multi folders
$ tree -L 2 -I "node_modules|000-xyz|test|templates|bin"
(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!
refs
https://www.cnblogs.com/xgqfrms/p/10824747.html
https://www.cnblogs.com/xgqfrms/p/10729411.html
©xgqfrms 2012-2021
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/10824747.html
未经授权禁止转载,违者必究!