Is it possible to reset the last write/mtime and last access/atime on a directory after it is created?

  • Thread starter Thread starter TOLISTim
  • Start date Start date
T

TOLISTim

Guest
Backup and restore purposes. When we record the data, we include the mtime/atime/ctime for all file entities copied into the backup stream. When restoring, we can reset the mtime/atime on the restored files, but attempts to reset the mtime/atime of a directory fails quietly.

Is there an API function for resetting the mtime/atime of a directory after it is created?

Continue reading...
 
Back
Top