SyntaxFix
Write A Post
Hire A Developer
Questions
You can use find
find
find . -type d > output.txt
or tree
tree
tree -d > output.txt
tree, If not installed on your system.
If you are using ubuntu
ubuntu
sudo apt-get install tree
If you are using mac os.
mac os
brew install tree