Often you may need to find out how much disk space a file or folder (files inside the folder) occupies. This helps you to understand disk usage, remove unwanted files and optimize disk usage.
View Files in Tree Structure for Mac, Linux and Windows
Tree command recursively lists files and folders in a tree structure. This provides an excellent overview of what a folder contains. On Windows tree command is available by default. However, there is no default tree command available on Linux and Mac. In this article, I’ll share steps to use tree command on Mac, Linux, and Windows.