From owner-freebsd-questions@FreeBSD.ORG Mon Nov 7 17:26:24 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 69FA216A41F for ; Mon, 7 Nov 2005 17:26:24 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from rwcrmhc12.comcast.net (rwcrmhc13.comcast.net [216.148.227.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32CC143D49 for ; Mon, 7 Nov 2005 17:26:23 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [208.206.151.59] (host59.gtisd.com[208.206.151.59]) by comcast.net (rwcrmhc13) with ESMTP id <20051107172622015005rvhfe>; Mon, 7 Nov 2005 17:26:23 +0000 Message-ID: <436F39DB.7070003@computer.org> Date: Mon, 07 Nov 2005 11:26:19 +0000 From: Eric Schuele User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051107) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeffrey Ellis References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How to sort find results 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 17:26:24 -0000 Jeffrey Ellis wrote: > Ok. It looks like: > > Find -x / -ls > > basically gives me what I need. But I am seeing two things I still need to > do to the results. First, I need to sort the ls by modification time. It > seems none of the options for ls work from within find -- or at least with > the syntax ls -x. I also looked at doing something like find -x / -ls | > sort, but when I look at the sort man, it doesn't say how to sort by Double check that man page... Look for '-k'.. you can specify your sort key. HTH > particular criteria. > > The other thing is in the find man it says the -ls option displays the > modification time of each file, but what I see is actually just the date > "May 21 2004". No times. Is there a way to display the actual times? > > Thanks again :) > > All My Best, > Jeffrey > > > _______________________________________________ > 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" > -- Regards, Eric