LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Room

[ILUG] Room

Conor Wynne weeboy at conorwynne.com
Sat May 14 11:14:07 IST 2005


> On 14 May 2005, at 00:38, Rick Moen wrote:
>
>> Quoting Tiarnán Ó Corráin (ocorrain at yahoo.com):
>>
>>> Just do
>>>   du -sk | sort -rn | head -20
>>
>> That solves an entirely different problem.
>
> Indeed - but WHAT is
>
> Rick Moen <rick at linuxmafia.com> writes:
>
>> # find . -xdev -type f -print | du -sk `ls -A` | sort -nr | head -20
>
> that meant to do ? As Tiarnán said

Sort directories into largest first. Wont show which files are biggest
though.

Why not simply add more space?
If you have a free partition, or if you add a new disk, make it LVM (not
ablogatory but will save this hassle in the future), create filesystem du
jour, mount it, copy all files from full partition using rsync or
something.
Rename /etc/fstab to reflect changes, umount and remount partitions.

Then you can nuke the full partition, make it LVM and add it to the new
partition/disk.

Job done.

> Why the find command?

Dunno, why not?

> Niall
>
> --
> Irish Linux Users' Group
> http://www.linux.ie/mailman/listinfo/ilug/

Regards
Conor.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell