At 07:58 PM 3/5/98 -0800, Gerry Mullins wrote:
>Try this: "ls -ltr" It will give you a long listing in reverse time
>order....the freshest files will be at the bottom of the listing.
Thanks, Gerry, but I think you missed the important part of the original
question.
What you suggest works fine for the files in one directory. But he wants to
get a listing that includes files in subdirectories (by including -R, the
recursion flag, in the ls options), and get a union list sorted by
timestamp. Procedures like the one you posted (one without the -r flag would
probably be better for his purposes) work fine for sorts that are directory
by directory, but they do not produce one unified list when used with the -R
flag.
--
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
Palo Alto, CA [EMAIL PROTECTED]
----------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs