Re: find most recent file update in directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 12/09/2011 02:41 PM, Helmut Drodofsky wrote:
> Hello,
>
> I try to find in a directory hicharchy the most recent time of file update.
>
> I think, there could be a solution with find?

Try something like:

find . -type f -printf '%A@ %p\n' | sort -n | tail -1

Mogens

-- 
Mogens Kjaer, mk@xxxxxxx
http://www.lemo.dk
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux