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

Interesting.  On both F11 and F12 here:

	# find /etc -size 1G -exec ls -lh \{\} \;

run as root finds files <1G as confirmed by the "ls" bit of the command.

On F11:

	[[email protected] ~]# find --version
	find (GNU findutils) 4.4.0

On F12:

	[[email protected] ~]# find --version
	find (GNU findutils) 4.4.2

Hope that helps.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting          [email protected] -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-        God is real...........unless declared integer or long       -
----------------------------------------------------------------------
-- 
users mailing list
[email protected]
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