[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OOo2.0 space concern



On Tue, Oct 25, 2005 at 12:35:54AM -0400, Mark Grieveson wrote:
...
> down to 1 (one) GB left; so, something went wrong somewhere.  Is there a 
> way to list files by filesize?  A program, or command similar to "ls" 
> that lists files, but sorts them in order of filesize?  

Try running the following in the top level directory:

du -abc | sort -k 1,1nr | less

The first line of output will display the total bytes in all files. 
Subsequent lines will display directories and files by declining size.
You can, of course, write output to disk rather than using 'less'


-- 
Paul E Condon           
pecondon@mesanetworks.net



Reply to: