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
- 6.9K The Community
- 2.9K General Discussion
- 80 New Members
- 711 Consumer Tech
- 162 Prebuilt PCs and Laptops
- 147 Software
- 26 Audio/Visual
- 44 Networking & Security
- 3 Home Automation
- 5 Digital Photography
- 10 Content Creators
- 27 Hobby Boards & Projects
- 68 3D Printing
- 80 Retro Arcade/Gaming
- 55 All Other Tech
- 215 PowerSpec
- 2.4K Store Information and Policy
- 133 Off Topic
- 25 Community Ideas & Feedback
- 585 Your Completed Builds
- 3.4K Build-Your-Own PC
- 2.4K Help Choosing Parts
- 297 Graphics Cards
- 297 CPUs, Memory, and Motherboards
- 131 Cases and Power Supplies
- 49 Air and Liquid Cooling
- 42 Monitors and Displays
- 86 Peripherals
- 53 All Other Parts
- 55 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