parallel copy directory, faster than robocopy

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Mar 5 04:48:53 PST 2012


On 3/4/12 2:53 PM, Jay Norwood wrote:
> I placed the two parallel file operations, rmdir and copy on github in
>
> https://github.com/jnorwood/file_parallel
>
> These combine the std.parallelism operations with the std.file
> operations to speed up the processing on Windows.
> -----------
> I also put a useful function that does argv pathname wildcard expansion in
>
> https://github.com/jnorwood/file_utils
>
> This makes use of one of the existing dirEntries call that has the
> pattern matching parameter which enables simple * and ? expansions in
> windows args. I'm only allowing expansions in the basename, and only
> expanding in one level of the directory.
>
> There are example Windows commandline utilies that use each of the
> functions in file_parallel/examples.
>
> I've only testsd these on win7, 64 bit.

Sounds great! Next step, should you be interested, is to create a pull 
request for phobos so we can integrate your code within.

Andrei


More information about the Digitalmars-d-announce mailing list