Date: Fri, 11 Dec 1998 11:47:07 -0800 (PST) From: Dan Busarow <dan@dpcsys.com> To: "James A. Taylor" <jataylor@lundahl.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Recursing directories? Message-ID: <Pine.BSF.3.96.981211114600.15801I-100000@java.dpcsys.com> In-Reply-To: <3671754E.AC4F0F65@lundahl.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981211114600.15801I-100000>