Microsoft Windows Robocopy: How to maintain Folder attributes (date created/modified) on a 'Copy' - when a new file is added

| | TrackBacks (0)

How to maintain Folder attributes (date created/modified) on a 'Copy' - when a new file is added

Use ROBOCOPY /MIR to create a mirror of an entire folder tree, with consistent create and modified times and date stamps. Pro tip: add /R:3 /W:3 to restrict retries to three times for three seconds each. You can also add a /LOG option to write results in a log file to find any files that failed to copy and try again manually. Here's the manual page for ROBOCOPY, with all of the options.

Categories

0 TrackBacks

Listed below are links to blogs that reference this entry: Microsoft Windows Robocopy: How to maintain Folder attributes (date created/modified) on a 'Copy' - when a new file is added.

TrackBack URL for this entry: https://www.batesline.com/cgi-bin/mt/mt-tb.cgi/9006

Contact

BlogAds

Support BatesLine

Show your appreciation and help fund hosting and research expenses:

Official PayPal Seal

Enjoy affordable and reliable hosting with Bluehost and support BatesLine at the same time -- click here!