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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 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 "-size -1G".
>
> This really should be reported. It would be appropriate for the OP to do
> so as he found it.

You are correct.  Doing "-size -1G" on both F11 and F12 return only
zero-length files.  Yep, that's a bug in my book.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting          ricks@xxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-               500: Internal Fortune Cookie Error                   -
----------------------------------------------------------------------
-- 
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

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux