Simultaneous parallel copying from one source to multiple destinations [duplicate]

One possible approach is to redirect it to a more consistent file list on the command line, which may facilitate scripting solutions for varying numbers of files. However, this method is slightly less efficient, although not much different from using the version with or without a specific feature. Another option is to combine one of these methods with another to process multiple files in a single directory or, with more difficulty, across a directory structure. TeraCopy offers the ability to identify failed file transfers and correct the issue by recopying only the problematic files.


Question:

Is there a chance of having duplicate entries for this query: Multiple USB HDD (ext2) being copied at the same time?
parallel file copy from single source to multiple targets

Is there a program, either for Linux or Windows, that is capable of copying large amounts of data (ranging from 60 to 80 GB) to multiple drives at the same time? The program should also be able to perform parallel copying from a single source to several local disk destinations, without using multicast for network disks.


Solution:

You have the option to utilize tee on Linux’s command line, which allows for copying to multiple locations.

cat file | tee outfile1 outfile2

Copying entire folders to multiple destinations is possible by utilizing both

cp

and

xargs

.

echo somedir somedir2 | xargs -n 1 cp -a folder/

On Windows, there is n2ncopy:

alt text

Frequently Asked Questions