From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A29BE13877A for ; Sun, 13 Jul 2014 20:25:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7DDEEE0881; Sun, 13 Jul 2014 20:25:40 +0000 (UTC) Received: from mail-la0-f65.google.com (mail-la0-f65.google.com [209.85.215.65]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C8C3E087C for ; Sun, 13 Jul 2014 20:25:38 +0000 (UTC) Received: by mail-la0-f65.google.com with SMTP id ty20so631871lab.0 for ; Sun, 13 Jul 2014 13:25:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=JD0bhyuTVoY9m2V8xHpL6dVgk8eRrjOGjBneakFTvYA=; b=jAD0Lj29OFTgqmud5oFe3eIynrVw2z7CehdF9/lP6i5gOng7gx2AWlFQ7p387v56cJ 4f1AILFa4lxZEPZ9VQz9FzoKyObTAowLkqgLIG4GHzSnUuh9uL4hhtCUOcqhosO7s8Pb 9CYs0uybt4nOE8VINsT7VglkMG4nyJQEkS9aoBFh3Ga24mo2bFecYL0Xgc4YwafCLc7t kdipXOK0SwXucWIr9ikLQd4S14ucad1XPKgrciOk2T7U9o0lNut0zjoVK4q5ehI5fbFC ROnFViJdPwV8ZCMUAgoeu0H6uohlquaPgd+zui7yOg7qVVI09M/k7A81wGT5GNfEk2cg 6mFg== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.112.144.104 with SMTP id sl8mr3271232lbb.52.1405283137161; Sun, 13 Jul 2014 13:25:37 -0700 (PDT) Received: by 10.112.171.74 with HTTP; Sun, 13 Jul 2014 13:25:37 -0700 (PDT) In-Reply-To: <53C2E9DD.6020702@gentoo.org> References: <20140713200341.GA22079@syscon7> <53C2E9DD.6020702@gentoo.org> Date: Sun, 13 Jul 2014 14:25:37 -0600 Message-ID: Subject: Re: [gentoo-user] locating large disk files From: =?UTF-8?Q?Jc_Garc=C3=ADa?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: caff22ad-0842-4301-a270-51e471f6dc33 X-Archives-Hash: 65dd4be3c5e6430aeb9a6950191268e0 2014-07-13 14:19 GMT-06:00 Michael Orlitzky : > 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 {} \; > > I usually use du and find, or the like, for this porpouse, but recently stumbled upon the sys-apps/baobab (also known as gnome disk usage tool) tool which does a nice job at locating those large files, and giving you a nice graph of usage of diretories, pretty useful in my opinion, and I don't think you need to install the entire gnome to use it. give it a look for me it changed the way I do this particular task.