On Fri, Dec 09, 2011 at 03:15:53PM +0100, Mogens Kjaer wrote: > > Try something like: > > find . -type f -printf '%A@ %p\n' | sort -n | tail -1 I believe you want %T@ instead of %A@ (modification time versus access time). I would also suggest sort -nr to sort from most recent to least recent. John -- Anybody can win unless there happens to be a second entry. -- George Ade (1866 - 1944), American writer, newspaper columnist, and playwright
Attachment:
pgpwcX8VSJ2Ta.pgp
Description: PGP signature
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos