Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2002 06:57:39 -0700 (PDT)
From:      Radhika Sambamurti <radhika_narendran@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   -exec script question
Message-ID:  <20020408135739.74130.qmail@web9307.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020408135739.74130.qmail>