ls all subdirs and subdirs of subdirs, ad inf?

anthony baldwin anthony.baldwin01 at comcast.net
Wed Jan 9 16:03:55 UTC 2008


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.

thanks
tony

-- 
Anthony Baldwin
http://www.BaldwinLinguas.com - Translation & Interpreting

http://www.LinguasOS.org - Linux for Translators

Así también, la lengua es un miembro pequeño, 
y se gloría de grandes cosas. He aquí, ¡un pequeño fuego ­
cuán grande bosque enciende!





More information about the ubuntu-users mailing list