From owner-freebsd-questions Tue May 22 5: 2:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay1.ntu-kpi.kiev.ua (www.ntu-kpi.kiev.ua [212.111.192.161]) by hub.freebsd.org (Postfix) with ESMTP id B619137B422 for ; Tue, 22 May 2001 05:02:55 -0700 (PDT) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from comsys.ntu-kpi.kiev.ua (eth0.comsys.ntu-kpi.kiev.ua [10.0.1.184]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id 4AA1D2F69D; Tue, 22 May 2001 15:02:50 +0300 (EEST) Received: from pm5149 (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) by comsys.ntu-kpi.kiev.ua (8.11.3/8.11.3) with SMTP id f4MC0ED01601; Tue, 22 May 2001 15:00:15 +0300 (EEST) Message-ID: <01aa01c0e2ae$159447c0$6d36120a@comsys.ntukpi.kiev.ua> From: "Andrey Simonenko" To: "Michael Bartlett" Cc: References: <03ba01c0e2ae$49847be0$cfe89298@LUCY> <013601c0e2a9$9f4f5220$6d36120a@comsys.ntukpi.kiev.ua> <043301c0e2b4$786e7770$cfe89298@LUCY> Subject: Re: script to archive old files Date: Tue, 22 May 2001 14:58:07 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 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 ----- Original Message ----- From: Michael Bartlett Newsgroups: lucky.freebsd.questions Sent: Tuesday, May 22, 2001 3:44 PM Subject: Re: script to archive old files > thanks for that > i think that find using the ctime flag is probably the best way to go > however - here is my problem > i have a directory with A LARGE AMOUNT of files in it > basically its a record of every mail message that has gone in and out of the > box in the last 6 months > > so when i try this: > > bash-2.03$ find * -ctime +60 Shell will "replace" *' by list of files, you should specify directory name in find command instead. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message