List contents of directories in a tree-like format
You have a large directory structure and you want to visualize it in a tree-like format.
tree command for this. First, install it:
sudo apt-get install tree
To display directories only.
tree -d -I "Sample|Subs|Extras|Sub|Vobsub"
Display directories and exclude directories that match the pattern (i.e. don’t show the Sample, Subs, …, Vobsub directories).
For more info, refer to “man tree”.