[SlugBug] Listing subdirectories only

Alan Dawson aland at burngreave.net
Mon Jan 9 11:42:35 GMT 2006


Hi..

How do you list subdirectories only .. 

/me has been trying ls -d  but that just shows me .

I'm trying to find where all the data is on a users home folder

for i in `ls -1`; do du -shm $i ; done | sort -gr

but it coughs on files obviously 


Cheer

Alan
-- 
"If you make decisions about software -- or anything -- based solely on
short-term cost and benefit, someone with a longer view can easily
manoeuver you into a trap from which it is hard to escape."  
  
 
 


More information about the SlugBug mailing list