On Sat, 2010-03-27 at 18:43 -0430, Patrick O'Callaghan wrote:
On Sat, 2010-03-27 at 15:34 -0500, Aaron Konstam wrote:
I think it's clear that he wants to find files of under 1Gb. That is
not
what find -size 1G does. It gives a list of all files with
non-zero
size, which is not the
On Fri, 2010-03-26 at 16:04 -0500, Robert Nichols wrote:
On 03/26/2010 03:58 PM, Aaron Konstam wrote:
On Fri, 2010-03-26 at 11:53 -0430, Patrick O'Callaghan wrote:
On Fri, 2010-03-26 at 10:30 -0500, Aaron Konstam wrote:
On Thu, 2010-03-25 at 14:20 -0700, Rick Stevens wrote:
On 03/25/2010
On Sat, 2010-03-27 at 09:43 -0430, Patrick O'Callaghan wrote:
On Fri, 2010-03-26 at 15:58 -0500, Aaron Konstam wrote:
On Fri, 2010-03-26 at 11:53 -0430, Patrick O'Callaghan wrote:
On Fri, 2010-03-26 at 10:30 -0500, Aaron Konstam wrote:
[...]
No, find -size 1G
will do what you
On Sat, 2010-03-27 at 15:34 -0500, Aaron Konstam wrote:
I think it's clear that he wants to find files of under 1Gb. That is
not
what find -size 1G does. It gives a list of all files with
non-zero
size, which is not the same thing.
poc
Ok, lets settle this. Do you know what you
On Thu, 2010-03-25 at 14:20 -0700, Rick Stevens wrote:
On 03/25/2010 01:57 PM, Aaron Konstam wrote:
On Thu, 2010-03-25 at 12:43 -0430, Patrick O'Callaghan wrote:
On Thu, 2010-03-25 at 13:04 -0400, Kevin J. Cummings wrote:
Note that this clarification is not present in the man page find(1).
On Fri, 2010-03-26 at 11:53 -0430, Patrick O'Callaghan wrote:
On Fri, 2010-03-26 at 10:30 -0500, Aaron Konstam wrote:
On Thu, 2010-03-25 at 14:20 -0700, Rick Stevens wrote:
On 03/25/2010 01:57 PM, Aaron Konstam wrote:
On Thu, 2010-03-25 at 12:43 -0430, Patrick O'Callaghan wrote:
On
On 03/26/2010 03:58 PM, Aaron Konstam wrote:
On Fri, 2010-03-26 at 11:53 -0430, Patrick O'Callaghan wrote:
On Fri, 2010-03-26 at 10:30 -0500, Aaron Konstam wrote:
On Thu, 2010-03-25 at 14:20 -0700, Rick Stevens wrote:
On 03/25/2010 01:57 PM, Aaron Konstam wrote:
On Thu, 2010-03-25 at 12:43
Hello
find /etc -size -1G
should return all files less than 1Giga byte in /etc, but return a
list of empty file (size=0)
find /etc -size -2G
work fine and return all the files
This works the same on my fedora11 and my centos 5 !
Did I miss something or is it a bug ?
Regards
--
Alain
I think it is just confusing: http://savannah.gnu.org/bugs/?12162
On Thu, Mar 25, 2010 at 07:45, Ala1n Sp1neu8 aspin...@gmail.com wrote:
Hello
find /etc -size -1G
should return all files less than 1Giga byte in /etc, but return a
list of empty file (size=0)
find /etc -size -2G
work fine
(following top posting)
Seems like rounding issues lead to the problem. Try lesser units
(instead of G, use M, k, c).
Am Donnerstag, den 25.03.2010, 09:28 +0100 schrieb Christof Damian:
I think it is just confusing: http://savannah.gnu.org/bugs/?12162
On Thu, Mar 25, 2010 at 07:45, Ala1n
On Thu, 2010-03-25 at 07:45 +0100, Ala1n Sp1neu8 wrote:
Hello
find /etc -size -1G
should return all files less than 1Giga byte in /etc, but return a
list of empty file (size=0)
find /etc -size -2G
work fine and return all the files
This works the same on my fedora11 and my centos 5
On 03/25/2010 02:45 AM, Ala1n Sp1neu8 wrote:
Hello
find /etc -size -1G
Get rid of the - before the 1G
should return all files less than 1Giga byte in /etc, but return a
list of empty file (size=0)
find /etc -size -2G
work fine and return all the files
This works the same on my
Once upon a time, Patrick O'Callaghan pocallag...@gmail.com said:
Note that this clarification is not present in the man page find(1). So
it's either a bug in find or a bug in the documentation.
The man page has this at the top of the TESTS section:
Numeric arguments can be specified as
On 03/25/2010 11:16 AM, Patrick O'Callaghan wrote:
On Thu, 2010-03-25 at 10:19 -0400, Kevin J. Cummings wrote:
On 03/25/2010 02:45 AM, Ala1n Sp1neu8 wrote:
Hello
find /etc -size -1G
Get rid of the - before the 1G
should return all files less than 1Giga byte in /etc, but return a
list
On Thu, 2010-03-25 at 13:04 -0400, Kevin J. Cummings wrote:
Note that this clarification is not present in the man page find(1).
So
it's either a bug in find or a bug in the documentation.
When I ran the command as -size 1G, it returned all the files less
than 1GB in size (I'm not sure if
On Thu, 2010-03-25 at 11:38 -0500, Chris Adams wrote:
Once upon a time, Patrick O'Callaghan pocallag...@gmail.com said:
Note that this clarification is not present in the man page find(1). So
it's either a bug in find or a bug in the documentation.
The man page has this at the top of the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 03/25/2010 05:13 PM, Patrick O'Callaghan wrote:
On Thu, 2010-03-25 at 13:04 -0400, Kevin J. Cummings wrote:
Note that this clarification is not present in the man page find(1).
So
it's either a bug in find or a bug in the documentation.
When
On 03/25/2010 10:13 AM, Patrick O'Callaghan wrote:
On Thu, 2010-03-25 at 13:04 -0400, Kevin J. Cummings wrote:
Note that this clarification is not present in the man page find(1).
So
it's either a bug in find or a bug in the documentation.
When I ran the command as -size 1G, it returned all
On Thu, 2010-03-25 at 10:21 -0700, Rick Stevens wrote:
# find /etc -size 1G -exec ls -lh \{\} \;
run as root finds files 1G as confirmed by the ls bit of the
command.
The OP's test (and mine) was with -size -1G. Your test uses -size 1G
but (incorrectly) gives the result expected for
On 03/25/2010 10:44 AM, Patrick O'Callaghan wrote:
On Thu, 2010-03-25 at 10:21 -0700, Rick Stevens wrote:
# find /etc -size 1G -exec ls -lh \{\} \;
run as root finds files1G as confirmed by the ls bit of the
command.
The OP's test (and mine) was with -size -1G. Your test uses -size
Once upon a time, Rick Stevens ri...@nerd.com said:
On 03/25/2010 10:44 AM, Patrick O'Callaghan wrote:
On Thu, 2010-03-25 at 10:21 -0700, Rick Stevens wrote:
# find /etc -size 1G -exec ls -lh \{\} \;
run as root finds files1G as confirmed by the ls bit of the
command.
The
On 03/25/2010 11:22 AM, Chris Adams wrote:
Once upon a time, Rick Stevensri...@nerd.com said:
On 03/25/2010 10:44 AM, Patrick O'Callaghan wrote:
On Thu, 2010-03-25 at 10:21 -0700, Rick Stevens wrote:
# find /etc -size 1G -exec ls -lh \{\} \;
run as root finds files1G as confirmed
You are correct. Doing -size -1G on both F11 and F12 return only
zero-length files. Yep, that's a bug in my book.
Two explanations given in the bug link that someone posted earlier:
In answer to:
Would someone please explain -- completely and carefully -- just
exactly how find's behavior is
Once upon a time, Rick Stevens ri...@nerd.com said:
I have to disagree that's the documented behavior either in the info or
man pages, and while find's own --help output is poorly laid out, it
also makes no mention of block sizes.
The man page size File uses n units of space; the suffixes
Patrick O'Callaghan wrote:
The number can be prefixed with a `+' or a `-'. A plus sign
indicates that the test should succeed if the file uses at least N
units of storage (a common use of this test) and a minus sign
indicates that the test should succeed if the file uses
Kevin J. Cummings wrote:
When I ran the command as -size 1G, it returned all the files less
than 1GB in size (I'm not sure if /etc *has* any files greater than
1GB!) So, I agree, its either a bug in the documentation or in find.
Bugzilla it! Let's hear from the developers.
Ah, I missed
Bryn M. Reeves wrote:
[...]
Different invocation. Your test and the OP used -size -1G (which
_should_ report files less than 1G but apparently reports only 0-byte
files). The reply above was -size 1G which _should_ match files that
are exactly 1G in size but according to the above does what
Rick Stevens wrote:
You are correct. Doing -size -1G on both F11 and F12 return only
zero-length files. Yep, that's a bug in my book.
It corresponds to my understanding of the info description.
Mike
--
p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
Oppose globalization
On Thu, 2010-03-25 at 12:43 -0430, Patrick O'Callaghan wrote:
On Thu, 2010-03-25 at 13:04 -0400, Kevin J. Cummings wrote:
Note that this clarification is not present in the man page find(1).
So
it's either a bug in find or a bug in the documentation.
When I ran the command as -size
On Thu, 2010-03-25 at 14:20 -0700, Rick Stevens wrote:
On 03/25/2010 01:57 PM, Aaron Konstam wrote:
On Thu, 2010-03-25 at 12:43 -0430, Patrick O'Callaghan wrote:
On Thu, 2010-03-25 at 13:04 -0400, Kevin J. Cummings wrote:
Note that this clarification is not present in the man page find(1).
Rick Stevens wrote:
After reading all the replies to this thread, I must agree that the
-1G does work as the documents say, but it sure as hell is misleading.
Misleading might be a little bit strong. It does describe the
behavior the software exhibits, but it's certainly easy for one
to infer
31 matches
Mail list logo