How to Create Tree View on Google Drive?
Whenever you have worked with DOS or Linux already, you’ll be familiar with the “tree” command that recursively lists all files and folders in the running directory in a tree like format. You can Create a Tree View for Google Drive for File Navigation Easily. Most of us prefer visual navigation through Windows Explorer or Mac Finder but a unique benefits with the tree command is that you can save and print the directory structure.
Google Drive’s Tree Command
I have written a short Google Script that is much like running “tree” but against your Google Drive. It creates a hierarchical tree diagram of all the files and folders in your Google Drive which you can save for offline reference or even print.
To get started, click here and authorize the script to enter the files in your Google Drive. Once the authorization is full complete, it may take one minute to generate the entire Google Drive tree. You’ll then get a link to download an HTML file that mirrors your Drive structures. You can easily send the file to the printer as well.
All the script does is recursive traversal and the tree itself is sylized through simple CSS. In the current or running version, only the folder names in the tree are linked to their corresponding location in your Google Drive though the script can be easiest extended to create a more data-rich tree that includes details like file URLs, sharing permissions, file sizes, file types and so on.
Related: How to Get Email Reports of Your Google Drive Activity
The process may take slightly longer if you have a largest drive with tons of file and folders. Also, as soon as you authorized the Google Drive Tree script, you’ll get an email from Google with instructions on how to revoke enter. You can must do so as soon as the tree has been generated. It’s a easy way to Create a Tree View for Google Drive for File Navigation Easily.