[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Speeding up Copying a directory with 10 million files inside.

Posted on 2012-04-08
5
Medium Priority
?
311 Views
Last Modified: 2012-06-27
Dear all,
I have a directory which contains 10 million files where each file have a size of 1 KB.
So, the directory is not big, but it contains huge number of files.

I want to integrate this folder in my setup package, when doing it, the setup time increases alot due to the huge number of files inside it.
My friend suggested me to make it a zip file. This method worked prefect in decreasing setup time. However after setup, I run a C# software to extract this directory.
This extraction, takes aloooooooooooot time too.
Any idea on how to fix that?
Thx in advanced experts
0
Comment
Question by:hassanayoub85
  • 3
  • 2
5 Comments
 
LVL 21

Expert Comment

by:motnahp00
ID: 37822022
What about robocopy? It is lightning fast.

robocopy <source_directory> <destination_directory> /R:0 /MIR
0
 

Author Comment

by:hassanayoub85
ID: 37822106
didn't heard about it, from where to get it?
0
 
LVL 21

Expert Comment

by:motnahp00
ID: 37822154
It's native on Vista and up.
0
 

Author Comment

by:hassanayoub85
ID: 37822171
i have xp.
0
 
LVL 21

Accepted Solution

by:
motnahp00 earned 2000 total points
ID: 37822192
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
Eseutil Hard Recovery is part of exchange tool and ensures Exchange mailbox data recovery when mailbox gets corrupt due to some problem on Exchange server.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question