On 22 July 2005 15:17, Ryan Viljoen wrote:
> I need some help with listing home directories that are greater than i
> given size. I have tried
> find /home -type d -size +50000k
> and
> find /home -type d -size +50000k -iname "*"
> Both without much success...

du -k --max-depth=1 /home | sort -nrk1

Alright, this doesn't give you home directory with more than 50000Kb of size 
only but all. Still, they are sorted by size.

Uwe

-- 
95% of all programmers rate themselves among the top 5% of all software 
developers. - Linus Torvalds

http://www.uwix.iway.na (last updated: 20.06.2004)
-- 
[email protected] mailing list

Reply via email to