Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2000 16:53:33 -0400
From:      Alan Clegg <abc@shell.wetworks.org>
To:        Christoph Sold <so@server.i-clue.de>
Cc:        FreeBSD-Questions@FreeBSD.org
Subject:   Re: find -exec Problem
Message-ID:  <20000703165333.F42727@shell.wetworks.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
An SMTP stream claimed that Christoph Sold muttered:

> # find . -type d -print -exec 'chmod o+rx {}';
> find: -exec: no terminating ";"
> 
> To me, this command look like it is in sync wiht it's manpage. What am I
> doing wrong here?

Add a \ before the ;

ie:

find . -type d -print -exec 'chmod o+rx {}' \;

AlanC


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?20000703165333.F42727>