Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2002 17:58:45 +0100
From:      "Barry Byrne" <barry.byrne@wbtsystems.com>
To:        "David Ouyang" <ntusnet@yahoo.com>, "Question FreeBSD.ORG" <questions@FreeBSD.ORG>
Subject:   RE: File size get out of control
Message-ID:  <NCBBIAMNAKDKFJIIGNPKMEINJLAA.barry.byrne@wbtsystems.com>
In-Reply-To: <20021001164820.81837.qmail@web20002.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David:

You might want to put some white space in:

	find / -size `expr 10 \* 1024 \* 2` -print

Also, be aware that the -size option expects 512 byte blocks. If you a
looking for a size in bytes, append a 'c'. e.g.:

	find / -size `expr 10 \* 1024 \* 2`c -print

 - Barry

> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of David Ouyang

> I try use find to find files larger then 10mb:
>
> find . -size +'expr 10\*1024\*2' -print
>
> but I get error msg:
>
> find:invalid argment '+expr 10\*1024\*2 to '-size'
>
>
> so what is correct command pramater to find?
> also am i being hacked, if so how can i check?
>
>
> Thanks in advance.
>
> __________________________________________________
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NCBBIAMNAKDKFJIIGNPKMEINJLAA.barry.byrne>