[EMAIL PROTECTED] (Bob Proulx) wrote: > goesh wrote: >> Further, i have used find . -print >> to do the same thing, however, i really like having the absoulte path in >> outputs such as ls -ltr, and i could not see a way to get find to do >> this. >> ... >> $ ls -ltrZ > > Well, I can't think of a way to have find sort by time. So it can't > replace the ls -t behavior. But otherwise the following is similar. > > find $PWD/* -ls
Hi Bob, You can make find print the mod-or-access time as an integer, along with the full file name, and then sort the result on time stamp: find $PWD/* -printf '%A@ %p\n'|sort -nr _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils