COPY Copies files
SYNTAX
COPY[/options] input-filespecs[/options] output-filespec[/option]
SEMANTICS
The COPY command accepts up to six input file specifications
but only one output file specification. It accepts wild cards
in place of file names or file types.
OPTIONS
ALLOCATE:size
Reserves space for an output file
ASCII
Copies files in ASCII mode, ignoring nulls and rubouts
BEFORE:[dd:mmm:yyyy]
Copies files created before the specified date (default is
system date)
BINARY
Copies files in formatted binary mode
BOOT[:dd]
Copies bootstrap information from a monitor file to the boot
blocks of a random access device; use the optional device name
if you are creating a volume to boot on a different device
(for example, using an RX02 to create a floppy bootable on an
RX01)
CONCATENATE
Combines several input files into a single output file
DATE[:dd:mmm:yyyy]
Copies only files with specified date. If the date is omitted,
the system date is used
DELETE
Deletes input file after it has been successfully copied
DEVICE
Copies the image of a device to another device, block for block
DOS
Specifies that a file is in RSTS/E or DOS-11 format
END:n
Specifies the last block of the device being read; must be used
with /DEVICE and /START:n
EXCLUDE
Copies all files on a device except the ones you specify
FILES
Copies a volume image to or from a file on another device;
must be used with /DEVICE
IGNORE
Ignores I/O errors during a copy operation
IMAGE (default)
Copies files byte for byte, regardless of their content
INFORMATION
Treats "file-not-found" errors as informational, not fatal
INTERCHANGE:n
Specifies that a diskette file is in interchange format; n is
the record length in characters
LOG
Lists on the terminal the names of the files copied
MULTIVOLUME
Copies files to multiple output volumes
NEWFILES
Copies only those files dated with the current system date
NOLOG
Suppresses the terminal log of copied files
NOPROTECTION
Removes protection status on output files
NOQUERY
Does not require confirmation before copying each file
NOREPLACE
Does not perform the copy operation if a file with the same
name as the output file already exists on the output device
OWNER:[nnn,nnn]
Specifies the UIC for a file in DOS-11 format
PACKED
Specifies word-for-word transfers for PDP-11 files, EBCDIC
format for interchange diskette files, and packed image format
for PDP-10 files.
POSITION:n
Controls rewind when you copy files to or from magtape or
cassette
PREDELETE
Deletes any duplicate files on the output device before
performing the copy operation
PROTECTION
Sets protection status on output files
QUERY
Requires user confirmation before copying each file
REPLACE (default)
Deletes any duplicate files on the output device after the
copy completes.
SETDATE[:dd:mmm:yyyy]
Sets the creation date of transferred files to the specified
date. If the date is omitted, the system date is used
SINCE[:dd:mmm:yyyy]
Copies only files created on or after the specified date. If
the date is omitted, the system date is used
SLOWLY
Transfers files one block at a time
START:n
Specifies the starting block number of the non-file structured
volume being read or written; must be used with /DEVICE
SYSTEM
Copies .SYS files if wild cards are included in input filespec
TOPS
Specifies that the input file is on a DECsystem-10 formatted
DECtape.
VERIFY
Reads, writes, and then rereads and compares the input and output
transfers
WAIT
Waits for user response before starting the copy operation;
must be used when the system volume is replaced with a data
volume
EXAMPLES
COPY A.FOR DX1:B.FOR
COPY/BOOT RK1:RT11SB RK1:
COPY A.FOR+B.FOR C.FOR
COPY A%B.MAC DX0:*.MAC
COPY/ASCII MTA1.FOR DT1:TEST.FOR/ALLOCATE:50
COPY/SINCE:1:JAN:84 *.MAC *.JAN
Tim Shoppa
7328 Bradley Blvd
Bethesda, MD 20817
Voice:+1 301 767 5917
Fax:+1 301 767 5927
Email:shoppa@trailing-edge.com