<!--
UCSD Pascal System II.0 User Manual
Copyright (C) 1979 Regents of the University of California
HTML markup and formatting
Copyright (C) 2006, 2007, 2010 Peter Miller
Copyright (C) 2006 Laurie Boshell
-->
<p>
<#include reconstruct/page "page024" "24">
If the user specifies the same filename for both source and
destination on a same-disk transfer, then the Filer rewrites the file
to the size-specified area, and removes the older copy.
<p>
<b>Example:</b>
<blockquote>
<i>Prompt:</i> <tt>Transfer what file?</tt>
<br>
<i>User Response:</i> <tt>#4:QUIZZES.TEXT,#4:QUIZZES.TEXT[2O]</tt>
</blockquote>
causes the Filer to rewrite <tt>QUIZZES.TEXT</tt> in the first 20-block
area encountered (counting up from block 0) and to remove the previous
version of <tt>QUIZZES.TEXT</tt>.
<p>
It is also possible to do entire volume-to-volume transfers.
The file specifications for both source and destination should consist
of volume ID only. Transferring a block-structured volume to another
block- structured volume causes the destination volume to be ‘wiped
out’ so that it becomes an exact copy of the source volume.
Assume that the user desires an extra copy of the disk <tt>MYDISK:</tt>
and is willing to sacrifice disk <tt>EXTRA:</tt>
<p>
<b>Example:</b>
<blockquote>
<i>Prompt:</i> <tt>Transfer what file?</tt>
<br>
<i>User Response:</i> <tt>MYDISK:,EXTRA:</tt>
<br>
<i>Prompt:</i> <tt>Destroy EXTRA: ?</tt>
</blockquote>
<b>Warning:</b> If the user types ‘<tt>Y</tt>’, the directory of
<tt>EXTRA:</tt> will
be destroyed! An ‘<tt>N</tt>’ response will return the user to the
outer level
of the Filer, and a ‘<tt>Y</tt>’ will cause <tt>EXTRA</tt>
to become an exact copy of
<tt>MYDISK</tt>. Often this is desirable for backup purposes, since it is
relatively easy to copy a disk this way, and the volume name can be
changed (see
<a name="change.50"></a>
C(hng) if desired.
<p>
Although it is certainly possible to transfer a volume (disk)
to another using a single disk-drive, it is a fairly tedious process,
since the in-core transfer reads up the information in rather small
chunks, and a great deal of disk juggling is necessary for the
complete transfer to take place.