On Friday 22 July 2005 09:17 am, 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 +5k
and
find /home -type d -size +5k -iname *
Both without much success...
Any help will be :D
Cheers
Rav
I need some help with listing home directories that are greater than i
given size. I have tried
find /home -type d -size +5k
and
find /home -type d -size +5k -iname *
Both without much success...
find will not calculate folder sizes (as you've already seen).
You'll need to use du
Dave Nebinger wrote:
I need some help with listing home directories that are greater than i
given size. I have tried
find /home -type d -size +5k
and
find /home -type d -size +5k -iname *
Both without much success...
find will not calculate folder sizes (as you've already seen).
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 +5k
and
find /home -type d -size +5k -iname *
Both without much success...
du -k --max-depth=1 /home | sort -nrk1
4 matches
Mail list logo