Help With Find Syntax

Charles Swiger cswiger at mac.com
Fri Oct 14 12:06:36 PDT 2005


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



More information about the freebsd-questions mailing list