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.2K The Community
- 3K General Discussion
- 95 New Members
- 763 Consumer Tech
- 185 Prebuilt PCs and Laptops
- 151 Software
- 30 Audio/Visual
- 48 Networking & Security
- 4 Home Automation
- 5 Digital Photography
- 12 Content Creators
- 27 Hobby Boards & Projects
- 72 3D Printing
- 83 Retro Arcade/Gaming
- 58 All Other Tech
- 262 PowerSpec
- 2.5K Store Information and Policy
- 138 Off Topic
- 35 Community Ideas & Feedback
- 594 Your Completed Builds
- 3.6K Build-Your-Own PC
- 2.6K Help Choosing Parts
- 301 Graphics Cards
- 308 CPUs, Memory, and Motherboards
- 133 Cases and Power Supplies
- 50 Air and Liquid Cooling
- 46 Monitors and Displays
- 87 Peripherals
- 56 All Other Parts
- 58 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