[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: stupid script tricks - slightly OT



on Mon, Apr 29, 2002, jeff (jmr71769@earthlink.net) wrote:
> Allan Wind wrote:
> 
> > cd /usr/local/share/icons; find / \( -name \*.gif -o name \*.jpeg -o -name \*.jpg -o -name \*.tif -o -name \*.tiff \) -a -type f | xargs -i ln -s \{\} .
> 
> 
> this looks like it should indeed work...but when i
> try it, i get:
> 
> find: paths must precede expression
> Usage: find [path...] [expression]

There's a "-name" option missing the '-'.  That one hits me all the time
too.

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   Moderator, Free Software Law Discussion mailing list:
     http://lists.alt.org/mailman/listinfo/fsl-discuss/

Attachment: pgpwZcswz9JMs.pgp
Description: PGP signature


Reply to: