要在 Git Bash 中使用 `tree` 命令,下载并手动安装 `tree`。
0、git bash 安装git(安装,常用命令,分支操作,gitee,IDEA集成git,IDEA集成gitee,IDEA集成github,远程堆栈操作)
1、下载并手动安装 tree
[*] 下载 tree.exe
[*]从 tree for Windows 官方站点 下载 tree 的 Windows 可执行文件。
[*]tree for Window:https://gnuwin32.sourceforge.net/packages/tree.htm
[*]https://i-blog.csdnimg.cn/direct/18157290068e4d798826bea4dacc30f3.png
[*]tree-1.5.2.2-setup.exe:https://sourceforge.net/projects/gnuwin32/files/tree/1.5.2.2/tree-1.5.2.2-setup.exe/download?use_mirror=jaist
[*] 安装和配置 tree
[*] 下载 tree.exe 后,将其放置在您的 PATH 环境变量中的某个目次中,例如:
C:\Program Files (x86)\GnuWin32\bin
https://i-blog.csdnimg.cn/direct/41a7b9b001bd475e90f445e5f467b010.png
[*]将 tree.exe 放在该目次中后,您可以在 Git Bash 或 CMD 中使用 tree 命令。
2、tree -L 2
dgq@DESKTOP-JRQ5NMD MINGW64 /f/spid-mini-xxx
$ tree -L 2
.
|-- __MACOSX
| `-- spid-mini
|-- project.config.json
|-- project.private.config.json
`-- spid-mini
| `-- 01-dev-tools
| `-- api
| `-- app.js
| `-- app.json
| `-- app.wxss
| `-- assets
| `-- components
| `-- config
| `-- custom-tab-bar
| `-- pages
| `-- permission.js
| `-- project.config.json
| `-- project.private.config.json
| `-- sitemap.json
| `-- utils
`-- wxs
12 directories, 9 files
3、tree -L 3
dgq@DESKTOP-JRQ5NMD MINGW64 /f/spid-mini-xxx
$ tree -L 3
.
|-- __MACOSX
| `-- spid-mini
| | `-- 01-dev-tools
| | `-- api
| | `-- assets
| | `-- components
| | `-- config
| | `-- custom-tab-bar
| | `-- pages
| | `-- utils
| `-- wxs
|-- project.config.json
|-- project.private.config.json
`-- spid-mini
|-- 01-dev-tools
| | `-- 01-component-template
| | `-- 01-page-template
| | `-- main
| | `-- overlay
| | `-- tab-bar
| `-- testanimate
|-- api
| | `-- auth.js
| | `-- brand.js
| | `-- category.js
| | `-- dashboard.js
| | `-- exam.js
| | `-- friend.js
| | `-- gallery.js
| | `-- grant.js
| | `-- hand-card-template.js
| | `-- hand-card.js
| | `-- html-to-image.js
| | `-- notice.js
| | `-- oss.js
| | `-- product.js
| | `-- promotion-registration.js
| | `-- qualify.js
| | `-- resource-request.js
| | `-- share.js
| | `-- stock.js
| | `-- test.js
| | `-- user.js
| `-- wechat.js
|-- app.js
|-- app.json
|-- app.wxss
|-- assets
| `-- tab-bar
|-- components
| | `-- aggregation
| | `-- func
| `-- layout
|-- config
| | `-- file.js
| | `-- filter-tab.js
| | `-- page.js
| | `-- path.js
| | `-- picker-value.js
| | `-- product-detail.js
| | `-- resource.js
| | `-- share.js
| | `-- shelfLife.js
| | `-- sort.js
| | `-- tab-bar.js
| `-- user.js
|-- custom-tab-bar
| | `-- index.js
| | `-- index.json
| | `-- index.wxml
| `-- index.wxss
|-- pages
| | `-- grant
| | `-- index
| | `-- receive
| | `-- resource
| | `-- share
| | `-- template
| `-- user
|-- permission.js
|-- project.config.json
|-- project.private.config.json
|-- sitemap.json
|-- utils
| | `-- device.js
| | `-- format.js
| | `-- request.js
| | `-- request.js.bak
| | `-- share-canvas.js
| | `-- string.js
| | `-- tab-bar.js
| | `-- toast.js
| `-- util.js
`-- wxs
| `-- format.wxs
| `-- resource.wxs
| `-- status.wxs
`-- util.wxs
38 directories, 60 files
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页:
[1]