From owner-freebsd-questions Fri Dec 11 11:47:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA18238 for freebsd-questions-outgoing; Fri, 11 Dec 1998 11:47:05 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA18224 for ; Fri, 11 Dec 1998 11:47:02 -0800 (PST) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.9.1a/8.9.1) with SMTP id LAA25492; Fri, 11 Dec 1998 11:47:07 -0800 (PST) Date: Fri, 11 Dec 1998 11:47:07 -0800 (PST) From: Dan Busarow To: "James A. Taylor" cc: freebsd-questions@FreeBSD.ORG Subject: Re: Recursing directories? In-Reply-To: <3671754E.AC4F0F65@lundahl.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 11 Dec 1998, James A. Taylor wrote: > > find /dir_name/ -name *.shtml -e mv {} `basenahe {} .shtml`.html; > > When I run find with the -exec option I get the following error > > find: -exec: no terminating ";" > > I have put a ; at the end put I still get the error. What am I doin wrong? You have to escape the ; so find has a chance to see it, use a \; at the end of the command. Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message