From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 16:55:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0479916A4D2 for ; Thu, 30 Oct 2003 16:55:21 -0800 (PST) Received: from stoat.clara.net (du-028-0021.claranet.co.uk [195.8.84.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DD5F43FB1 for ; Thu, 30 Oct 2003 16:55:19 -0800 (PST) (envelope-from david@carter-hitchin.clara.co.uk) Received: from stoat.clara.net (localhost [127.0.0.1]) by stoat.clara.net (8.12.8p2/8.12.9) with ESMTP id h9V1tfZE000828; Fri, 31 Oct 2003 01:55:42 GMT (envelope-from david@carter-hitchin.clara.co.uk) Received: from localhost (david@localhost)h9V1tbwg000825; Fri, 31 Oct 2003 01:55:41 GMT (envelope-from david@carter-hitchin.clara.co.uk) X-Authentication-Warning: stoat.clara.net: david owned process doing -bs Date: Fri, 31 Oct 2003 01:55:06 +0000 (GMT) From: David Carter-Hitchin X-Sender: david@localhost To: Drew Tomlinson In-Reply-To: <035201c39e7f$0d0d8190$6e2a6ba5@l035522> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD Questions Subject: Re: Help With 'find' Syntax X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 00:55:22 -0000 Hi Drew, This should find all files created or modified on 25th October: find / -mtime 6 -ls -o -ctime 6 -ls (As today is 31st October which is 6 days after 25th. You may need to widen your search a little with a seperate search with 7 as the paramter as 6 may not catch files that were created over 6 * 24 hours ago (but were still on the 25th); not sure about that). HTH, David On Wed, 29 Oct 2003, Drew Tomlinson wrote: > On October 25, my /usr partition lost nearly 50% of it's available space. > This disk hasn't had any significant size changes since I built the system > as it basically serves as a gateway. > > I'm trying to use the find command to determine what may have been written > to the disk but am not having any luck. I see primaries such > as -atime, -mtime, -ctime, and -newer and have read the man pages but do not > understand what the best combination to find those files. Basically how do > I use 'find' to show me all file that were created or modified on October > 25? I've tried commands such as "find /usr \( -newerct 4d \! -newerct 3d > \) -print" but nothing is returned. > > Thanks, > > Drew > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > >