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

Jack Craig jack.craig.aptos at gmail.com
Mon Aug 13 20:23:25 UTC 2012


On Mon, Aug 13, 2012 at 12:41 PM, Aaron Gray <aaronngray.lists at gmail.com>wrote:

> 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
>

i'll see your  du and raise you by ...

du -s <d> | sort -nr | head -30

actually no, not raise at all, just an alternative approach; I start at /
and follow the bloat.

hth, cheers, ...

>
> seems to work well. Will try 'find' to see if its faster.
>
> Aaron
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120813/44832548/attachment.html>


More information about the users mailing list