Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to move a large chunk of data from one of our servers onto an external drive for delivery to Amazon glacier storage.

To do that, I'd like to copy a chunk of the server, preserving the directory structure. I.e. move this:

\\MyServer\Some\Longwinded\Path\TheDataIWantToCopy\First bit of data\DataFile1.dat

to this:

D:\First bit of data\DataFile1.dat
share|improve this question
Use some sort of Sync Tools? (SyncBack is free) – Darius Nov 6 '13 at 9:33

You could use Windows Explorer to copy directories.

If you prefer command line, then xcopy should work:

xcopy \\MyServer\Some\Longwinded\Path\TheDataIWantToCopy D: /S

I am Linux guy myself and prefer Linux tools like rsync, and there is rsync UI compiled for Windows called grsync which may work even better because it is restartable (it would not copy files that already have been copied).

share|improve this answer

For moving large amounts of files or even small amounts that take a long time on Windows the robocopy command works well. Has options that let you resume a copy that got interrupted somehow or copy a few files that got added since the last copy without redoing all the files.

To mirror the directories and files from the source to destination use the below. Mirror will delete and add files as needed so can be re-run when only some files were missed, some changed or some were removed etc without copying everything again like xcopy would.

robocopy \\MyServer\Some\Longwinded\Path\TheDataIWantToCopy D:\ /MIR
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .