Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2001 04:49:59 -0700
From:      Eugene Lee <eugene@anime.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: script to archive old files
Message-ID:  <20010522044959.D2123@anime.net>
In-Reply-To: <043301c0e2b4$786e7770$cfe89298@LUCY>; from michael@i-syt.com on Tue, May 22, 2001 at 12:43:27PM %2B0100
References:  <03ba01c0e2ae$49847be0$cfe89298@LUCY> <013601c0e2a9$9f4f5220$6d36120a@comsys.ntukpi.kiev.ua> <043301c0e2b4$786e7770$cfe89298@LUCY>

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




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