From owner-freebsd-questions@FreeBSD.ORG Thu Jan 11 10:05:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED01016A412 for ; Thu, 11 Jan 2007 10:05:48 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from arwen.teledomenet.gr (arwen.teledomenet.gr [213.142.128.58]) by mx1.freebsd.org (Postfix) with ESMTP id 5149813C45E for ; Thu, 11 Jan 2007 10:05:48 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from iris ([192.168.1.71]) by arwen.teledomenet.gr (8.12.10/8.12.10) with ESMTP id l0B9LUm1031130; Thu, 11 Jan 2007 11:21:30 +0200 From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Thu, 11 Jan 2007 11:24:08 +0200 User-Agent: KMail/1.9.1 References: <2cd0a0da0701110045x49c8fc90g8174dd12d0d90325@mail.gmail.com> In-Reply-To: <2cd0a0da0701110045x49c8fc90g8174dd12d0d90325@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701111124.09298.nvass@teledomenet.gr> Cc: VeeJay Subject: Re: Is there a way to get List of Only those files in a filesystem which are modified on a specifict date? 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: Thu, 11 Jan 2007 10:05:49 -0000 On Thursday 11 January 2007 10:45, VeeJay wrote: > Hi > > Is there a way to get List of Only those files in a filesystem which are > modified on a specifict date? > Yes, read find(1) man. In short: find ${DIRECTORY} -mtime 8 This will give you the files which were modified 8 days before in directory ${DIRECTORY}. find ${DIRECTORY} -mtime -8 This will give you the files which were modified 8 days ago and afterwards in directory ${DIRECTORY}. There is also -newerXY option which might be interesting. HTH, Nikos