Question about ls

Sean Miller sean at seanmiller.net
Thu Mar 3 08:04:09 UTC 2005


Bernhard wrote:

>ls -R /path/to/music > mymusic.txt
>  
>
You could do a -F and then grep for / perhaps ?

ls -RF /path/to/music | grep /

Not sure if there's a better way... I tend to be the sort of fella that 
if something works I use it, regardless of whether it's the correct way :-)

Sean




More information about the ubuntu-users mailing list