Date: Mon, 07 Nov 2005 09:41:41 -0800 From: Jeffrey Ellis <jellis@dhnet.us> To: Eric Schuele <e.schuele@computer.org>, Jeffrey Ellis <jellis@dhnet.us> Cc: freebsd-questions@freebsd.org Subject: Re: How to sort find results Message-ID: <BF94D1D5.31584%jellis@dhnet.us> In-Reply-To: <436F39DB.7070003@computer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Aha... Thanks, Eric :) Well, at least I know it can do it now. The problem -- as usual for a newbie -- is that I haven't got the vaguest understanding of what I just read. The field part I think I get, but how would I use the first character? I guess I'm basically too stupid to get these kind of instructions -- maybe just one example for the use of each option included in man pages would help? Anyway -- I don't think I'll ever get how to use this on my own. All My Best, Jeffrey on 11/7/05 3:26 AM, Eric Schuele at e.schuele@computer.org wrote: > 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" >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BF94D1D5.31584%jellis>