Copy files to new computer and maintain original file dates / timestamps
I have a new G441 and will be copying 1TB of files from old system's drive to new drive via a USB backup disk. I'd like to retain the file's original creation and modified dates?
If I do a simple COPY with File Explorer the dates are all changed to today's date. Is there another simple way to do this?
Thanks
Answers
-
Robocopy: https://ss64.com/nt/robocopy.html
Look at the copy/dcopy switches. You can use dcopy:DAT (Data, attribute, timestamp). /copyall will copy all attributes for files.
Try: Robocopy.exe <source directory> <target> /DCOPY:DAT /COPYALL /S
Should retain Data, attribs and timestamp for the folder and everything on the included files. /S includes subdirectories.
-
Thanks, Mike! I'll give it a try.
Categories
- All Categories
- 1 The Blog
- 1 What's Trending
- 7.5K The Community
- 3.1K General Discussion
- 110 New Members
- 796 Consumer Tech
- 199 Prebuilt PCs and Laptops
- 156 Software
- 30 Audio/Visual
- 50 Networking & Security
- 4 Home Automation
- 5 Digital Photography
- 12 Content Creators
- 28 Hobby Boards & Projects
- 75 3D Printing
- 83 Retro Arcade/Gaming
- 60 All Other Tech
- 300 PowerSpec
- 2.5K Store Information and Policy
- 143 Off Topic
- 43 Community Ideas & Feedback
- 599 Your Completed Builds
- 3.7K Build-Your-Own PC
- 2.7K Help Choosing Parts
- 315 Graphics Cards
- 330 CPUs, Memory, and Motherboards
- 135 Cases and Power Supplies
- 52 Air and Liquid Cooling
- 46 Monitors and Displays
- 89 Peripherals
- 59 All Other Parts
- 62 Featured Categories
We love seeing what our customers build
Submit photos and a description of your PC to our build showcase
Submit NowLooking for a little inspiration?
See other custom PC builds and get some ideas for what can be done
View Build ShowcaseSAME DAY CUSTOM BUILD SERVICE
If You Can Dream it, We Can Build it.
Services starting at $149.99