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

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

 



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')

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux