Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2005 15:06:29 -0400
From:      Charles Swiger <cswiger@mac.com>
To:        Drew Tomlinson <drew@mykitchentable.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Help With Find Syntax
Message-ID:  <58F79CEB-58BD-4495-B4A0-A6B325C83ABB@mac.com>
In-Reply-To: <434FFEB4.90308@mykitchentable.net>
References:  <434FFEB4.90308@mykitchentable.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 14, 2005, at 2:53 PM, Drew Tomlinson wrote:
> $ find /multimedia/Pictures -iname "*.gif" -or "*.jpg" -print       
> find: paths must precede expression
> Usage: find [path...] [expression]
>
> I've tried various placement of quotes, parenthesis, etc. but can't  
> seem to find the right way to do this.  Can someone show me my error?

find /multimedia/Pictures -iname "*.gif" -or -iname "*.jpg" -print

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58F79CEB-58BD-4495-B4A0-A6B325C83ABB>