From owner-freebsd-questions@FreeBSD.ORG Fri Oct 14 19:06:36 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7D3A16A41F for ; Fri, 14 Oct 2005 19:06:36 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFBED43D67 for ; Fri, 14 Oct 2005 19:06:33 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin01-en2 [10.13.10.146]) by smtpout.mac.com (Xserve/8.12.11/smtpout09/MantshX 4.0) with ESMTP id j9EJ6X7F026324; Fri, 14 Oct 2005 12:06:33 -0700 (PDT) Received: from [10.1.1.209] (nfw2.codefab.com [199.103.21.225] (may be forged)) (authenticated bits=0) by mac.com (Xserve/smtpin01/MantshX 4.0) with ESMTP id j9EJ6V9x003432; Fri, 14 Oct 2005 12:06:32 -0700 (PDT) In-Reply-To: <434FFEB4.90308@mykitchentable.net> References: <434FFEB4.90308@mykitchentable.net> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <58F79CEB-58BD-4495-B4A0-A6B325C83ABB@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Fri, 14 Oct 2005 15:06:29 -0400 To: Drew Tomlinson X-Mailer: Apple Mail (2.734) Cc: FreeBSD Questions Subject: Re: Help With Find Syntax X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 19:06:36 -0000 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