That is, to traverse a dir and create a replica with zero-sized files. I curently use xxcopy /E /TR0 but it's very slow.

link|improve this question

0% accept rate
2  
What is "very slow"? Getting over a about hundred items/second is unlikely no matter what technique you use. (typical hard disk 9ms access time, 1s/9ms = ~111 operations/second) Of course if you're using a sold state disk (Access time ~.1ms) then things should be much quicker. – Billy ONeal Nov 14 '10 at 6:41
feedback

1 Answer

I can't talk about speed, but what you could do is this: Download the unix 'find' binary for windows and then create a script/c program to process the output.

link|improve this answer
1  
-1 for two reasons: 1. DIR /B /S does exactly what you need here without a third party utility. 2. (more importantly) This does not answer the OP's question. Find will give you a directory list but it's certainly not going to create any kind of directory structure. – Billy ONeal Nov 14 '10 at 6:45
Okay, sorry, should have known. Thanks for the info. – user18151 Nov 14 '10 at 9:22
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.