: How to copy/replicate files w/o changing the access time

Greaser, Tom tgreaser at hsc.wvu.edu
Tue Aug 30 16:38:26 UTC 2011


Have you tried  cp -p 
      --preserve[=ATTR_LIST]
preserve  the  specified attributes (default: mode,ownership,timestamps), if possible additional attributes: context, links, xattr, all

or tar  --atime-preserve[=METHOD]
preserve  access  times  on  dumped files, either by restoring the times after reading (METHOD='replace'; default) or by not
setting the times in the first place (METHOD='system')




More information about the redhat-list mailing list