On Tue, Oct 12, 2004 at 01:25:47PM -0600, Harshwardhan Nagaonkar wrote:
> >I always use 'du -h *' because it's shorter. (-:
> >
> <snip/>
> 
> Except that 'du -h *' will print out all the directories _as well as_ 
> all the subdirectories and their subdirectories and their subdirectories 
>  and so on.
> 
> '--max-depth=1' will just limit to the current directory's children 
> files/directories, not their sub directories. This way I guess you don't 
> recurse everywhere! =)

Oops, I meant 'du -s *', or you can do 'ls -A | xargs du -s' to catch hidden
stuff.  I guess it's a matter of preference.


Justin

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to