E-Mail:
Get our new Windows 7 eBook (PDF) for $7 with 70+ Tips. Download Now!

How Can I Quickly Create Millions Of Tiny Files In Linux?

  • No Related Post

Dave, I have searched the Web over and can’t seem to find an appropriate answer to this question. I have a need for a script that will create millions of 1-5Kbyte files in a Linux filesystem for testing purposes. I have to do this on a regular basis and it would be really cool to have it scripted. I am not sure what the quickest way to do this would be?


A bit weird as questions go, but I understand exactly what you’re talking about and the good news is that you can accomplish this task quickly and easily without having to have a “for i=1…1000000 do; touch x; done”.

The trick is to use a command called…

[Continue reading about millions of tiny Linux files   (tech support]

What Do You Think?

 
35 queries / 0.310 seconds.