Re: find /etc -size -1G return only empty files



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

Are you sure? In my case it returned only the zero-length files, same as
what the OP reported. This is on F12, just in case.

poc

That is how it works for me. zero length files are not returned.

--
=======================================================================
You will not be elected to public office this year.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



Relevant Pages

  • Re: find /etc -size -1G return only empty files
    ... When I ran the command as "-size 1G", it returned all the files less ... So, I agree, its either a bug in the documentation or in find. ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines ...
    (Fedora)
  • Re: mail(1) save command does not work as in the man page
    ... mailsave command does not work as in the man page ... You've found a bug in the _documentation_, not the progam. ...
    (freebsd-questions)
  • Re: find /etc -size -1G return only empty files
    ... it's either a bug in find or a bug in the documentation. ... To unsubscribe or change subscription options: ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines ...
    (Fedora)
  • Wolfpack 4.3.10 Server Release
    ... Plug file descriptor leak in add command. ... This feature was flawed (it encourages players to ... Redesign of synchronization between commands, update and shutdown, ... The bug allowed players to delay ...
    (rec.games.empire)
  • Weekly Python Patch/Bug Summary
    ... Patch / Bug Summary ... Help with Python codebase ... Update to Macintosh library documentation ... Segfaults on memory error ...
    (comp.lang.python)