[Cialug] Printing Directories

Jim Asbille jim.asbille at gmail.com
Wed Dec 2 21:37:50 CST 2009


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.

I have used *ls -R > print.txt* 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.

Directory Structure
mp3
   *Artist
      Album*
         Files

Thanks in advance.



Jim Asbille, MSM
registered Linux user number 388067

"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."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20091202/cc67f4ee/attachment.htm 


More information about the Cialug mailing list