From owner-freebsd-questions Tue May 22 4:50: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from anime.net (anime.net [63.172.78.150]) by hub.freebsd.org (Postfix) with ESMTP id 90BD337B42C for ; Tue, 22 May 2001 04:50:00 -0700 (PDT) (envelope-from eugene@anime.net) Received: (from eugene@localhost) by anime.net (8.9.3/8.9.3) id EAA03228 for freebsd-questions@FreeBSD.ORG; Tue, 22 May 2001 04:49:59 -0700 Date: Tue, 22 May 2001 04:49:59 -0700 From: Eugene Lee To: freebsd-questions@FreeBSD.ORG Subject: Re: script to archive old files Message-ID: <20010522044959.D2123@anime.net> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <03ba01c0e2ae$49847be0$cfe89298@LUCY> <013601c0e2a9$9f4f5220$6d36120a@comsys.ntukpi.kiev.ua> <043301c0e2b4$786e7770$cfe89298@LUCY> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <043301c0e2b4$786e7770$cfe89298@LUCY>; from michael@i-syt.com on Tue, May 22, 2001 at 12:43:27PM +0100 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 On Tue, May 22, 2001 at 12:43:27PM +0100, Michael Bartlett wrote: : : 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 : bash: /usr/bin/find: Argument list too long Instead of cd'ing into the directory, specify the directory path: $ find path/to/big/dir -ctime +60 -- Eugene Lee eugene@anime.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message