public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Orlitzky <mjo@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] locating large disk files
Date: Sun, 13 Jul 2014 16:19:41 -0400	[thread overview]
Message-ID: <53C2E9DD.6020702@gentoo.org> (raw)
In-Reply-To: <20140713200341.GA22079@syscon7>

On 07/13/2014 04:03 PM, Joseph wrote:
> I'm trying to clean up my home directory by locating large disk files. I used:
> find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'
> 
> but I'm getting strange output:

Just use "du -h" instead of "ls -lh" and awk:

  find / -type f -size +20000k -exec du -h {} \;



  reply	other threads:[~2014-07-13 20:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-13 20:03 [gentoo-user] locating large disk files Joseph
2014-07-13 20:19 ` Michael Orlitzky [this message]
2014-07-13 20:25   ` Jc García
2014-07-13 20:24 ` Tuomo Hartikainen
2014-07-13 20:25 ` Dimitri Semitsoglou-Tsiapos
2014-07-13 20:53   ` Joseph
2014-07-14  0:19     ` Bruce Schultz
2014-07-13 20:47 ` Neil Bothwick
2014-07-14  0:12 ` Erik Mackdanz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53C2E9DD.6020702@gentoo.org \
    --to=mjo@gentoo.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox