User`s guide

COPY
/[NO]QUERY
/QUERY makes RT–11 request confirmation before it performs the operation.
/QUERY is useful on operations that involve wildcards, when you may not be
sure which files the system selected for an operation. The /QUERY option is
valid on the COPY command only if both input and output are in RT–11 format.
If you specify /QUERY in a COPY command line that also contains a wildcard in
the file specification, the confirmation messages that display on the terminal
replace the log messages that would normally appear. Respond to a query
message by typing Y (or any string that begins with Y) and
RETURN
. RT–11
interprets any other response to mean NO, and it does not copy the file.
The following example copies three of the four MAC files stored on DK to DU1:
.COPY/QUERY DK:*.MAC DU1:*.*
Files copied:
DK:A.MAC to DU1:A.MAC ? Y
DK:B.MAC to DU1:B.MAC ? Y
DK:C.MAC to DU1:C.MAC ? N
DK:DEMOF1.MAC to DU1:DEMOF1.MAC? Y
/NOQUERY suppresses the confirmation message that RT–11 displays for some
operations, such as COPY/DEVICE. It also suppresses logging of file names if
the command line contains a wildcard. You must explicitly type /LOG to obtain
a list of the files copied when you use /NOQUERY.
/[NO]REPLACE
/REPLACE is the default mode of operation for the COPY command. If a file
exists on the output device with the same name as the file you specify for output,
RT–11 deletes the duplicate file after the copy operation successfully completes.
/NOREPLACE prevents execution of the copy operation if a file with the same
name as the output file you specify already exists on the output device.
/NOREPLACE is valid only if both the input and output are in RT–11 format.
/SETDATE[:date]
Puts the date you specify on all files it copies. If you specify no date, RT–11
uses the current system date. If the current system date is not set, RT–11 places
zeros in the directory entry-date position. Normally, RT–11 preserves the existing
file-creation date when it copies a file.
This option is invalid for magtape operations; RT–11 always uses the current
date when copying to magtape, and always uses the magtape file’s creation date
when copying from magtape.
/SINCE:[date]
Copies all files on a specified device that were created on or after a specified date.
54 RT–11 Command Descriptions