ls all subdirs and subdirs of subdirs, ad inf?
Is there a way to write script that will list the contents of a dir AND subdirs of said dir, and subdirs of said subdirs, ad infinitum?
Like, I want to list the contents of /home/me/tunes
plus, the subdirs by genre, /home/me/tunes/rock ~folk ~classical ~latin ~brazilian etc.,
plus, the contents of each genre, by artist /home/me/tunes/latin/mana
and, in cases where I have still deeper subdirs (by album, for instance)....
Basically, a big list/tree of ALL of my tunes...
And I want to pipe it to a text window in zenity, or just to a text file.
I can get ls to list the contents of a dir, OR, the contents of subdirs, etc...but, don't seem to be able to get it to list, BOTH, the contents of the dir, AND, subdirs, and subdirs of subdirs, ad infinitum...