Not sure why I didn’t capture this before since I did it for the music collection. To update I had to google it all over again. So… future reference!
The command at the CLI (login using PuTTY or SSH):
tree > music.txt
The tree will be directed to a text file called music.txt
Also, as there are a few directory names with spaces and Linux doesn’t like spaces in the direcotry names, to change directory to them, use quotes:
cd “Chamorro Christmas”
Let’s not forget this shit in the future……
KEYWORDS FOR SEARCH: DIRECTORY TREE LINUX LS LIST SUBDIRECTORY SUBDIRECTORIES FOLDER SUBFOLDER