Re: find /etc -size -1G return only empty files
- From: "Bryn M. Reeves" <bmr@xxxxxxxxxx>
- Date: Thu, 25 Mar 2010 17:20:47 +0000
-----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 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.
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 "-size -1G"
is supposed to do..
I seem to see behaviour on f12 consistent with both of these reports
(-1G gives 0-byte files, 1G gives <1G files).
Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkurm28ACgkQ6YSQoMYUY95oIwCeMt8AAGuT90/HBQciditoyiUz
91oAnihBvhiLPxtMiKwWCe8XquQtgJ2D
=zayJ
-----END PGP SIGNATURE-----
--
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
- Follow-Ups:
- Re: find /etc -size -1G return only empty files
- From: Mike McCarty
- Re: find /etc -size -1G return only empty files
- References:
- find /etc -size -1G return only empty files
- From: Ala1n Sp1neu8
- Re: find /etc -size -1G return only empty files
- From: Kevin J. Cummings
- Re: find /etc -size -1G return only empty files
- From: Patrick O'Callaghan
- Re: find /etc -size -1G return only empty files
- From: Kevin J. Cummings
- Re: find /etc -size -1G return only empty files
- From: Patrick O'Callaghan
- find /etc -size -1G return only empty files
- Prev by Date: Re: find /etc -size -1G return only empty files
- Next by Date: Re: find /etc -size -1G return only empty files
- Previous by thread: Re: find /etc -size -1G return only empty files
- Next by thread: Re: find /etc -size -1G return only empty files
- Index(es):
Relevant Pages
|