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

Re: how to grep without changing timestamps?



>On Sun, Dec 31, 2000 at 02:04:57PM -0500, Maciej Kalisiak wrote:
> Hello all,
> 
> Is it possible to grep a ton of files without modifying their >date/timestamps? Currently if I use grep, it changes the access time of all >files touched, which causes mutt to lose track of the folders which have >new mail (I guess it looks at the timestamp last modified and last accessed >to figure this out). Occasionally I do want to include the mail folders in >my greps, so bypassing the "mail" directory is not a solution.

  It is possible to disable access timestamp. You have to remount the
partition using "noatime" option. "find" will work app. 25% faster (tar
19%, cvs 8.6%).

Regards
Mikhail



Reply to: