Command line utility to copy a file to multiple disks

G

Guest

I am looking for command line program that will take an existing zip file
and spawn it to the appropriate # of disks.
Thanks.
 
T

Terry Russell

I am looking for command line program that will take an existing zip file
and spawn it to the appropriate # of disks.
Thanks.

for %%A in (c:\x d:\y) do copy z.zip %%A
 
G

Guest

Terry Russell said:
for %%A in (c:\x d:\y) do copy z.zip %%A

This is what I used and I get an insufficient disk space message.
for %%A in (c:\x a:\y) do copy wp80bkup.zip %%A
 
R

rir3760

It was a dark and stormy night when said:
I am looking for command line program that will take an existing
zip file and spawn it to the appropriate # of disks.

To split a file use Split.exe with the '--bytes' modifier, for
example:

Split --bytes=65536 Test.jpg Part_

will split the file 'Test.jpg' in parts named 'Part_aa', 'Part_ab',
'Part_ac' and so on, each file will have a filesize of 65536 bytes.

To join the parts use Cat.exe with the '-B' modifier, following the
previous example:

Cat -B Part_??>Test_2.jpg

That command will take all the files named 'Part_aa', 'Part_ab',
etc., and will produce a file with the name 'Test_2.jpg'.

If you need more info type the commands:

Split --help
Cat --help

The homepage is:
<http://unxutils.sourceforge.net/>

Hope this helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top