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.4K The Community
- 3K General Discussion
- 102 New Members
- 789 Consumer Tech
- 197 Prebuilt PCs and Laptops
- 154 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
- 287 PowerSpec
- 2.5K Store Information and Policy
- 140 Off Topic
- 40 Community Ideas & Feedback
- 596 Your Completed Builds
- 3.6K Build-Your-Own PC
- 2.6K Help Choosing Parts
- 303 Graphics Cards
- 324 CPUs, Memory, and Motherboards
- 134 Cases and Power Supplies
- 50 Air and Liquid Cooling
- 46 Monitors and Displays
- 88 Peripherals
- 57 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