Gentoo Archives: gentoo-user

From: Michael Orlitzky <mjo@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] locating large disk files
Date: Sun, 13 Jul 2014 20:19:50
Message-Id: 53C2E9DD.6020702@gentoo.org
In Reply to: [gentoo-user] locating large disk files by Joseph
1 On 07/13/2014 04:03 PM, Joseph wrote:
2 > I'm trying to clean up my home directory by locating large disk files. I used:
3 > find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'
4 >
5 > but I'm getting strange output:
6
7 Just use "du -h" instead of "ls -lh" and awk:
8
9 find / -type f -size +20000k -exec du -h {} \;

Replies

Subject Author
Re: [gentoo-user] locating large disk files "Jc García" <jyo.garcia@×××××.com>