Here is a simple question that I hope someone has an answer for. I have a directory called mp3 with all of my music in it. I want to generate a file that lists the directories and sub-directories but not the files.<br><br>
I have used <b>ls -R > print.txt</b> but that generates a 597 page document since it prints every song and image. I just want the Artist level Directories and the Album Level Directories to print to a file.<br><br>Directory Structure<br>
mp3<br> <b>Artist<br> Album</b><br> Files<br><br>Thanks in advance.<br><br><br><br clear="all">Jim Asbille, MSM<br>registered Linux user number 388067 <br><br>"Failure is not an option. It's a standard feature of Windows and is bundled into the Operating System for your convenience, at no additional charge."<br>