Link to home
Create AccountLog in
Avatar of AotearoaPeoplesNetwork
AotearoaPeoplesNetwork

asked on

how to retain directory timestamp when copying between drives

Hi
I am trying to make a copy of the files/folders on one drive to a folder in another drive (backup). I am wanting to keep everything as is is in the source, so attributes/timestamp etc for files and folders.
I have tried copy, xcopy and robocopy. I can get xcopy and robocopy to retails the file attributes/timestamp, but the folders in the destination end up with the current days timestamp, not its original. I am using the /DCOPY:T in Robocopy, but reading around it seems the drive to drive copy is causing the issue. Is there any (free/easy) way to regularly copy drive (just modified items) to a folder on another drive.
I am using Win7 Pro x64, NTFS on all drives, robocopy version XP027.
cheers
Avatar of Aaron Tomosky
Aaron Tomosky
Flag of United States of America image

This is a fun one. Xxcopy wil do it but it's not free. I think Syncback keeps folder timestamps.
I believe robocopy with the /COPYALL or the /copy:T  switch is what you need.



http://ss64.com/nt/robocopy.html
ASKER CERTIFIED SOLUTION
Avatar of Plantwiz
Plantwiz
Flag of Canada image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Sorry AotearoaPeoplesNetwork I just realized I did not read your question fully and you were already at Robocopy.  Plantwiz's find looks promising though.