如何從樹命令中排除或忽略資料夾

如何從樹命令中排除或忽略資料夾

我正在使用tree命令Windows 命令提示字元,查看 NodeJS 專案資料夾的樹形結構。我想忽略資料夾名稱,node_modules因為它包含我暫時不想看到的資料夾和檔案。

E:\Project\Nodejs\Project3 - TDD>tree /?
Graphically displays the folder structure of a drive or path.

TREE [drive:][path] [/F] [/A]

   /F   Display the names of the files in each folder.
   /A   Use ASCII instead of extended characters.

我找不到任何幫助屬性。我有辦法做到這一點嗎?

相關內容