[comp.binaries.ibm.pc.d] XCOPY /S across diff't disk formats??

cctr132@canterbury.ac.nz (10/11/90)

Dear Netlanders,

I've been looking around a couple of ftp sites for a copy utility that will
copy ALL of the files AND their associated directory structure from one disk to
another (here comes the tricky bit) AND allow you to do so across disk formats.

By way of example:  A student has some files on high-density 5 1/4 disks and
wants to copy these to double-density 3 1/2 disks so s/he can read them in the
drive on a laptop.  The 5 1/4 disks are nearly full (approx 1 Meg) so the
files have to be split across TWO 3 1/2 disks.

DOS's XCOPY meets the first two criteria but falls over when the target is
full, as do a couple of programs I found.

I found several hopeful sounding cadidates, but none are quite up to all of the
requirements.  The two disk formats mentioned above are solely by way of
example - with over 9000 students on campus we get all possible combinations at
our file transfer service.

An ftp site for your *favourite* such util would be much appreciated, as our
operators are getting a bit sick of doing it the long way with high to med.
density transfers. 

AdvTHANKthankTHANKthankTHANKance,

+---------------------------------------------------------------------------+
| Nick FitzGerald, PC Applictions Consultant, CSC, Uni. of Canterbury, N.Z. |
| Internet: n.fitzgerald@canterbury.ac.nz            Phone: (64)(3) 642-337 |
+---------------------------------------------------------------------------+

peterh@gollum.uio.no (Peter Hausken) (10/12/90)

>Reply-To: cctr132@canterbury.ac.nz
>Date: 11 Oct 90 08:29:20 GMT
>
>Dear Netlanders,
>
>I've been looking around a couple of ftp sites for a copy utility that will
>copy ALL of the files AND their associated directory structure from one disk to
>another (here comes the tricky bit) AND allow you to do so across disk formats.
>
>By way of example:  A student has some files on high-density 5 1/4 disks and
>wants to copy these to double-density 3 1/2 disks so s/he can read them in the
>drive on a laptop.  The 5 1/4 disks are nearly full (approx 1 Meg) so the
>files have to be split across TWO 3 1/2 disks.
>
>DOS's XCOPY meets the first two criteria but falls over when the target is
>full, as do a couple of programs I found.
>
>I found several hopeful sounding cadidates, but none are quite up to all of the
>requirements.  The two disk formats mentioned above are solely by way of
>example - with over 9000 students on campus we get all possible combinations at
>our file transfer service.
>
>An ftp site for your *favourite* such util would be much appreciated, as our
>operators are getting a bit sick of doing it the long way with high to med.
>density transfers. 
>

If you combine ATTRIB and XCOPY /S/M in standard DOS you'll manage.

First set the Archive attribute on all files in this and all subsequent
directories by the command:

ATTRIB +A *.* /S


Then copy all files that fits into the first diskette by the command:

XCOPY *.* A: /S/M

This command fails when the first diskette is filled up, but since all
files copied now has the archive attribute removed they will not be
copied again because of the /M switch.

I don't know if XCOPY set an errorlevel, but if it does it can be 
used to make a .BAT file that goes in loop until the appropriate
errorlevel (0?) is given by XCOPY.

There are some programs written to take care of this, but you can 
manage with standard DOS commands. With 9000 students to support I
believe it's easier to learn people how to use DOS, than to distribute
a program to alle their machines and THEN learn them how to use it.


----------------------------------------------------------------------------
    ///////  //  //   Peter Hausken, University of Oslo
   //   //  //  //    PB. 1059, Blindern, N-0316 OSLO 3, Norway
  ///////  //////     Voice: +47-2-453524 Fax: +47-2-455770
 //       //  //      Internet: Peter.Hausken@USE.UiO.NO  (peterh@ifi.uio.no)
//       //  //       X.400 SA: G=Peter;S=Hausken;OU=USE;O=UiO;P=UNINETT;C=NO

gettys@regent.enet.dec.com (Bob Gettys N1BRM) (10/12/90)

In article <1990Oct11.194748.9380@canterbury.ac.nz>, cctr132@canterbury.ac.nz writes...
>Dear Netlanders,
> 
>I've been looking around a couple of ftp sites for a copy utility that will
>copy ALL of the files AND their associated directory structure from one disk to
>another (here comes the tricky bit) AND allow you to do so across disk formats.
> 
>By way of example:  A student has some files on high-density 5 1/4 disks and
>wants to copy these to double-density 3 1/2 disks so s/he can read them in the
>drive on a laptop.  The 5 1/4 disks are nearly full (approx 1 Meg) so the
>files have to be split across TWO 3 1/2 disks.
> 
>DOS's XCOPY meets the first two criteria but falls over when the target is
>full, as do a couple of programs I found.
> 
>I found several hopeful sounding cadidates, but none are quite up to all of the
>requirements.  The two disk formats mentioned above are solely by way of
>example - with over 9000 students on campus we get all possible combinations at
>our file transfer service.
> 
>An ftp site for your *favourite* such util would be much appreciated, as our
>operators are getting a bit sick of doing it the long way with high to med.
>density transfers. 
> 
>AdvTHANKthankTHANKthankTHANKance,
> 
>+---------------------------------------------------------------------------+
>| Nick FitzGerald, PC Applictions Consultant, CSC, Uni. of Canterbury, N.Z. |
>| Internet: n.fitzgerald@canterbury.ac.nz            Phone: (64)(3) 642-337 |
>+---------------------------------------------------------------------------+




	I use XTPro Gold to do this. It allows copying either with or without
the structure to any media. It will stop when the destination is full, allow
you to format a disk if needed, and then continue with the next disk. 



	Sorry; I don't know a "free" version.




	/s/	Bob Gettys	N1BRM