Re: script to find last accessed time?

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



On Tue, 2008-12-02 at 10:27 +0000, Tom Brown wrote:
> Can anyone help me with the syntax to find last accessed time on a bunch 
> of dir's - something like show me the files that were last accessed 6 
> months or more ago?
> 
> thanks
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

Something like `find . -atime 180`? This will find all files in the
current directory which were last accessed more than 180 days (6*30)
ago. See `man find` for more details and options.

-- 
Laurence Hurst
IT Services Specialist
Loughborough University

_______________________________________________
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