Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
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
add comment

1 Answer 1

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.

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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