F16 Help with find.

Sjoerd Mullender sjoerd at acm.org
Thu Apr 5 09:37:28 UTC 2012


On 2012-04-05 11:24, Frank Murphy wrote:
> On 05/04/12 10:07, Ralf Corsepius wrote:
>> On 04/05/2012 09:31 AM, Frank Murphy wrote:
>>> Error from logwatch:
>>> find: paths must precede expression: (-name
>>> Usage: find [-H] [-L] [-P] [-Olevel] [-D
>>> help|tree|search|stat|rates|opt|exec] [path...] [expression]
>>>
>>>
>>> find /nfs/yum/16/i386/_local/packages -type f ! \(-name 'autoplus*' -o
>> Try adding a "-a" here ........................^
>>
>>
> Thanks Ralf,
> What does the "-a" mean here.
> man find, not much help.

It's equivalent to both -and and nothing.  It means AND.

Look for expr1 -a expr2 in the man page.


-- 
Sjoerd Mullender

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 372 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120405/cd848bc6/attachment.sig>


More information about the users mailing list