Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Nov 2005 09:14:25 -0800
From:      Jeffrey Ellis <jellis@dhnet.us>
To:        <freebsd-questions@freebsd.org>
Subject:   How to sort find results
Message-ID:  <BF94CB71.3157D%jellis@dhnet.us>
In-Reply-To: <20051107120056.2BF1F16A424@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BF94CB71.3157D%jellis>