From owner-freebsd-questions Mon Apr 8 6:57:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web9307.mail.yahoo.com (web9307.mail.yahoo.com [216.136.129.56]) by hub.freebsd.org (Postfix) with SMTP id 21A7637B405 for ; Mon, 8 Apr 2002 06:57:39 -0700 (PDT) Message-ID: <20020408135739.74130.qmail@web9307.mail.yahoo.com> Received: from [199.66.15.252] by web9307.mail.yahoo.com via HTTP; Mon, 08 Apr 2002 06:57:39 PDT Date: Mon, 8 Apr 2002 06:57:39 -0700 (PDT) From: Radhika Sambamurti Subject: -exec script question To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 hi, I am trying to create a script to move files over 7 days old. my quesions is how can i use the -exec command with mv? so far i have; find / -name \*inc -mtime +7 -exec mv /usr/tmp {}; would this be correct? thx radhika ===== It's all a matter of perspective. You can choose your view by choosing where to stand. --Larry Wall __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message