[KLUG Members] Fw: [blug-tech] Sort disk listings by size

komal agencies_ad1 at sancharnet.in
Wed Sep 8 04:13:01 EDT 2004





> This may be a strange one to ask, but here goes:
> 
> I need to create a lsit of every file on my hard disk. ls -alR will do 
> that.
> 
> However, now I need to sort that list in descending order by size, and I 
> need to know in which directories they are.
> 
> i.e., I am trying to locate the largest files on my disk, for obvious 
> reasons.
> 
> Anyone have an idea how to do that?
> 
> Atul
> 
> -- 
> -------------------------------------------
> Atul Chitnis       | achitnis at exocore.com
> Exocore Consulting | http://www.exocore.com
> Bangalore, India   | +91 (80) 2344-0397
> -------------------------------------------
> 
> 
> ------------------------ Yahoo! Groups Sponsor --------------------~--> 
> $9.95 domain names from Yahoo!. Register anything.
> http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/9rHolB/TM
> --------------------------------------------------------------------~-> 
> 
> -- 
> Before posting to this list, read the list rules FIRST!
> 
> http://linux-bangalore.org/discussions/rules.php
>  
> Yahoo! Groups Links
> 
> <*> To visit your group on the web, go to:
>     http://groups.yahoo.com/group/linux-bangalore-technical/
> 
> <*> To unsubscribe from this group, send an email to:
>     linux-bangalore-technical-unsubscribe at yahoogroups.com
> 
> <*> Your use of Yahoo! Groups is subject to:
>     http://docs.yahoo.com/info/terms/
>  
> 


More information about the Members mailing list