COPY-DIRECTORY: Difference between revisions

From NDWiki
Jump to navigation Jump to search
(created page for the COPY-DIRECTORY command)
 
(added example)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
; <source directory name> : source - name of the directory
; <source directory name> : source - name of the directory


Rules:
#Permitted only for user SYSTEM.
#The destination directory should have no users and no files when the command is given (use @[[CREATE-DIRECTORY]]).
#The users and the file names will be identical in both directories after the command is executed.
#All files must be closed during the copying. Spooling should be turned off.
Example:
@CREATE-DIRECTORY PACK-TWO, DI-33MB-2,,
@COPY-DEVICE PACK-TWO, PACK-ONE
== Related commands ==
== Related commands ==
@[[COPY-DEVICE]]
@[[COPY-DEVICE]]

Latest revision as of 18:30, 17 December 2012

@COPY-DIRECTORY <destination directory name>, <source directory name>

Copy all files in the source directory onto the destination directory.

<destination directory name>
destination - name of the directory
<source directory name>
source - name of the directory

Rules:

  1. Permitted only for user SYSTEM.
  2. The destination directory should have no users and no files when the command is given (use @CREATE-DIRECTORY).
  3. The users and the file names will be identical in both directories after the command is executed.
  4. All files must be closed during the copying. Spooling should be turned off.

Example:

@CREATE-DIRECTORY PACK-TWO, DI-33MB-2,,

@COPY-DEVICE PACK-TWO, PACK-ONE

Related commands

@COPY-DEVICE

@COPY-USERS-FILES

References

Norsk Data Document ND–60.128.01 SINTRAN III REFERENCE MANUAL (printed June 1980), pages 1-39, 1-40

Norsk Data Document ND–60.174.Q01 SINTRAN III QUICK REFERENCE CARD