Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2000 22:54:24 +0200
From:      Willem Brown <willem@brwn.org>
To:        Christoph Sold <so@server.i-clue.de>
Cc:        FreeBSD-Questions@FreeBSD.org
Subject:   Re: find -exec Problem
Message-ID:  <20000703225424.C15794@snoopy.brwn.org>
In-Reply-To: <3960FC7A.4217804D@i-clue.de>; from so@server.i-clue.de on Mon, Jul 03, 2000 at 10:50:02PM %2B0200
References:  <3960FC7A.4217804D@i-clue.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,


On Mon, Jul 03, 2000 at 10:50:02PM +0200, Christoph Sold wrote:
> Maybe it's just me, but... could some helpful soul look at the
> following:
> 
> # uname -a
> FreeBSD me.here.org 3.4-STABLE FreeBSD 3.4-STABLE #7: Thu Jun 22
> 14:30:20 CEST 2000     root@me.here.org:/usr/src/sys/compile/ME  i386
> # find . -type d -print -exec 'chmod o+rx {}';

I think you should escape the semi-colon. This worked for me:

find . -type d -print -exec ls -l {} \;

> find: -exec: no terminating ";"
> 
> To me, this command look like it is in sync wiht it's manpage. What am I
> doing wrong here?
> 
> Curiously yours
> -CHristoph Sold
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

Regards
Willem Brown

-- 
 /* =============================================================== */
 /*      Linux, FreeBSD, NetBSD, OpenBSD. The choice is yours.      */
 /* =============================================================== */

You speak of courage.  Obviously you do not know the difference between
courage and foolhardiness.  Always it is the brave ones who die, the
soldiers.
		-- Kor, the Klingon Commander, "Errand of Mercy",
		   stardate 3201.7


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000703225424.C15794>