How to search for large files >1Gigabyte via command line

Aaron Gray aaronngray.lists at gmail.com
Mon Aug 13 19:41:18 UTC 2012


On 13 August 2012 19:53, Jack Craig <jack.craig.aptos at gmail.com> wrote:
> works for me, ...
>
> hth...
>
>
> On Mon, Aug 13, 2012 at 11:36 AM, Richard Shaw <hobbes1069 at gmail.com> wrote:
>>
>> On Mon, Aug 13, 2012 at 1:34 PM, Jack Craig <jack.craig.aptos at gmail.com>
>> wrote:
>> > find . -type f -size G 1
>>
>> Interesting... find allows you to input the size that way? In the man
>> page I found an example similar to this:
>>
>> $ find /usr/share -size +1G
>>
>> I assume the "+" means bigger than...

Cheers, was someone filling up my httpd error log files for the last
week, not Wireshark log AFAICT !

    du -ahx * | sort -rh | head -30

seems to work well. Will try 'find' to see if its faster.

Aaron


More information about the users mailing list