From owner-freebsd-questions Mon Apr 8 8:11:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from stargate.sse-erfurt.de (stargate.sse-erfurt.de [62.132.15.253]) by hub.freebsd.org (Postfix) with SMTP id 5B6F937B404 for ; Mon, 8 Apr 2002 08:11:26 -0700 (PDT) Received: (1198 bytes) by stargate.sse-erfurt.de via sendmail with P:stdio/R:inet_hosts/T:smtp (sender: ) id for ; Mon, 8 Apr 2002 17:11:34 +0200 (MET DST) (Smail-3.2.0.101 1997-Dec-17 #7 built DST-Jul-30) Received: from (master [192.105.75.4]) by stargate.sse-erfurt.de via smap (V2.1) id xma021208; Mon, 8 Apr 02 17:11:10 +0200 Received: (from kittler@localhost) by master.sse-erfurt.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id RAA11192; Mon, 8 Apr 2002 17:10:59 +0200 From: Lutz Kittler MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15537.45826.855616.629271@master.sse-erfurt.de> Date: Mon, 8 Apr 2002 17:10:58 +0200 (MEST) To: Radhika Sambamurti Cc: freebsd-questions@freebsd.org Subject: -exec script question In-Reply-To: <20020408135739.74130.qmail@web9307.mail.yahoo.com> References: <20020408135739.74130.qmail@web9307.mail.yahoo.com> X-Mailer: VM 6.75 under 21.1 (patch 7) "Biscayne" XEmacs Lucid Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Radhika Sambamurti writes: > > find / -name \*inc -mtime +7 -exec mv /usr/tmp {}; > > would this be correct? > I think you must escape ";" : find / -name \*inc -mtime +7 -exec mv /usr/tmp {} \; lutz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message