• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 316
  • Last Modified:

Speeding up Copying a directory with 10 million files inside.

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
hassanayoub85
Asked:
hassanayoub85
  • 3
  • 2
1 Solution
 
motnahp00Commented:
What about robocopy? It is lightning fast.

robocopy <source_directory> <destination_directory> /R:0 /MIR
0
 
hassanayoub85Author Commented:
didn't heard about it, from where to get it?
0
 
motnahp00Commented:
It's native on Vista and up.
0
 
hassanayoub85Author Commented:
i have xp.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now