I have a copy of treegen.sh file in /usr/bin with name treegen in executable mode
inside any Directory on running command treegen it result tree structure of that Directory
Download
# basically adding this file to your $PATH in executable mode
cd /usr/bin
wget http://git.io/vEYZ9A && cp vEYZ9A treegen && chmod 755 treegenStart using it
run treegen command in any directory and it will generate tree structure of directory.
🍻
Hi @dhruvghulati,
Sorry for replying late to this, it didn't notify me of your comment. I'm sure you have resolved the issue.
It was because you were not root, running the commands with sudo works for me.
Thanks for checking it out.