simultaneous copy to multiple media

Jacek Trzmiel sc0rp at hot.pl
Sun Mar 20 05:56:10 EST 2005



Claudio Grondi wrote:
> 
> I would like to save time copying the same file
> (>6 GByte) to various different target storage
> media connected to the system via USB.
> 
> Is there a (Python or other) tool able to help me
> to do this, so that I don't need to copy the
> source file first to the first media, then to the
> second, etc.?

Use 'tee' command from shell:
tee <file >/dest1/file /dest2/file

Or run two copies in parallel (one of them probably will read file from
cache):
cp file /dest1/file & cp file /dest2/file


-- Jacek.



More information about the Python-list mailing list