From owner-freebsd-questions@FreeBSD.ORG Mon Nov 7 17:14:28 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 D08EB16A41F for ; Mon, 7 Nov 2005 17:14:28 +0000 (GMT) (envelope-from jellis@dhnet.us) Received: from smtp1.linkline.com (smtp1.linkline.com [66.59.235.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 795B643D48 for ; Mon, 7 Nov 2005 17:14:28 +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 smtp1.linkline.com (Postfix) with ESMTP id 544179CE87 for ; Mon, 7 Nov 2005 09:14:25 -0800 (PST) User-Agent: Microsoft-Entourage/11.2.0.050811 Date: Mon, 07 Nov 2005 09:14:25 -0800 From: Jeffrey Ellis To: Message-ID: Thread-Topic: How to sort find results Thread-Index: AcXjvrPQ8oDiGE+xEdqYJgAKlXMBfA== In-Reply-To: <20051107120056.2BF1F16A424@hub.freebsd.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: 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:14:28 -0000 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 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