[OpenAFS] script to control garbage

Jason Edgecombe jason@rampaginggeek.com
Thu, 31 Jul 2008 18:20:01 -0400

David Bear wrote:
> I am wondering if anyone has written a tool that can scan through files in a
> volume and check how old they are (last mod time?) and archive them if they
> are more than N-days old?
> I seem to recal from the openafs conference that mtime=atime=ctime .. so
> there needs to be some other way to determine how long a file has not been
> used.
I thought that atime wasn't updated unless the file was modified 
(mtime). In that case, a simple find command would work.