From owner-freebsd-questions@FreeBSD.ORG Mon Jun 6 02:28:26 2005 Return-Path: X-Original-To: questions@freebsd.org 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 CDF2316A41F for ; Mon, 6 Jun 2005 02:28:26 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7407343D49 for ; Mon, 6 Jun 2005 02:28:24 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j562SNoC034027; Sun, 5 Jun 2005 21:28:23 -0500 (CDT) (envelope-from dan) Date: Sun, 5 Jun 2005 21:28:23 -0500 From: Dan Nelson To: Francisco Reyes Message-ID: <20050606022823.GI255@dan.emsphone.com> References: <20050605215422.O79500@zoraida.natserv.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050605215422.O79500@zoraida.natserv.net> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.9i Cc: FreeBSD Questions List Subject: Re: Looking for files older than n number of days? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2005 02:28:27 -0000 In the last episode (Jun 05), Francisco Reyes said: > Looking at the man page for find I see several ways to look for files > exactly N days old or newer than N days, but did not see a flag for > files older than N number of days.. like files older than 90 days... > Did I miss it? "find . -mtime +5" , or "find . -mtime +5d", depending on whether you want 5 days as of the next midnight, or 5 days as of when find was started. -- Dan Nelson dnelson@allantgroup.com