copying timestamps of directories

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
It is possible to copy timestamps of files by using touch /r /c, but not to copy timestamps of directories using this way. Make it possible by using touch /a:d /r /c creating an empty directory similar to touch /r /c creating an empty file.