Well here is the answer. I installed Tree then ran<b> tree -d > print.txt</b>. Worked like a charm.<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>
<br><br><div class="gmail_quote">On Wed, Dec 2, 2009 at 9:37 PM, Jim Asbille <span dir="ltr"><<a href="mailto:jim.asbille@gmail.com">jim.asbille@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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>
</blockquote></div><br>