From owner-freebsd-questions@FreeBSD.ORG Mon Nov 7 00:55:00 2005 Return-Path: X-Original-To: freebsd-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 C601E16A41F for ; Mon, 7 Nov 2005 00:55:00 +0000 (GMT) (envelope-from jellis@dhnet.us) Received: from smtp2.linkline.com (smtp2.linkline.com [64.30.215.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6253E43D46 for ; Mon, 7 Nov 2005 00:55:00 +0000 (GMT) (envelope-from jellis@dhnet.us) Received: from [64.30.211.58] (64-30-211-58.dsl.linkline.com [64.30.211.58]) by smtp2.linkline.com (Postfix) with ESMTP id EE1C32CA; Sun, 6 Nov 2005 16:54:55 -0800 (PST) User-Agent: Microsoft-Entourage/11.2.0.050811 Date: Sun, 06 Nov 2005 16:54:57 -0800 From: Jeffrey Ellis To: Roland Smith , Jeffrey Ellis Message-ID: Thread-Topic: More help with find Thread-Index: AcXjNd9bHed6P08pEdqYJgAKlXMBfA== In-Reply-To: <20051106232444.GB46371@slackbox.xs4all.nl> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: More help with find 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, 07 Nov 2005 00:55:00 -0000 Hi, Roland-- That works great -- thank you! Ok... Would you mind if I asked you the next step? I'm now able to find all the files on the startup volume and not any other volumes. But now I need to be able to also see that same criteria for a particular volume which is *not* the startup drive, i.e., a specific volume which is contained in the Volumes directory, say 'foo'. In other words, I need to be able to isolate particular volumes to perform the find. I then would like to be able to have the modification date and filesize added to the display of the path and filename, and then sort the results by the mod. date in descending order. Is there a way to do that? All My Best, Jeffrey on 11/6/05 3:24 PM, Roland Smith at rsmith@xs4all.nl wrote: > On Sun, Nov 06, 2005 at 01:40:12PM -0800, Jeffrey Ellis wrote: > >> What I really need is an expression which will ls all files found which have >> a mod. date/time of more than a certain number of days from today, but that >> are *not* in the Volumes directory, i.e., only those results which exist on >> the startup volume. >> >> Is there a way to do this? > > The FreeBSD version of find has the '-x' option that does what you > want. Don't know what kind of 'find' darwin uses. GNU find has a similar > option. > > Roland