<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.ndwiki.org/index.php?action=history&amp;feed=atom&amp;title=COPY-USERS-FILES</id>
	<title>COPY-USERS-FILES - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.ndwiki.org/index.php?action=history&amp;feed=atom&amp;title=COPY-USERS-FILES"/>
	<link rel="alternate" type="text/html" href="https://www.ndwiki.org/index.php?title=COPY-USERS-FILES&amp;action=history"/>
	<updated>2026-05-15T06:38:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://www.ndwiki.org/index.php?title=COPY-USERS-FILES&amp;diff=2244&amp;oldid=prev</id>
		<title>Tingo: created page for the COPY-USERS-FILES command</title>
		<link rel="alternate" type="text/html" href="https://www.ndwiki.org/index.php?title=COPY-USERS-FILES&amp;diff=2244&amp;oldid=prev"/>
		<updated>2012-12-17T19:17:54Z</updated>

		<summary type="html">&lt;p&gt;created page for the COPY-USERS-FILES command&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; @COPY-USERS-FILES &amp;lt;destination type = DIRECTORY&amp;gt;, &amp;lt;destination directory&amp;gt;, &amp;lt;source type = DIRECTORY&amp;gt;, &amp;lt;source files&amp;gt;&lt;br /&gt;
 @COPY-USERS-FILES &amp;lt;destination type = VOLUME&amp;gt;, &amp;lt;destination device name&amp;gt;, [&amp;lt;destination unit&amp;gt;], &amp;lt;destination volume name&amp;gt;, &amp;lt;destination file generation&amp;gt;,&lt;br /&gt;
                   &amp;lt;source type = VOLUME&amp;gt;, &amp;lt;source device name&amp;gt;, [&amp;lt;source unit&amp;gt;], &amp;lt;source volume name&amp;gt;, &amp;lt;source file generation&amp;gt;, &amp;lt;source files&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy a set of mass storage files. The set can reside on either an ANSI standard magnetic tape volume or a directory.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;destination type&amp;gt; : DIRECTORY or VOLUME (default = DIRECTORY)&lt;br /&gt;
; &amp;lt;destination directory&amp;gt; : specified if &amp;lt;destination type&amp;gt; = DIRECTORY&lt;br /&gt;
; &amp;lt;destination device name&amp;gt; : choose MAG-TAPE-1 or MAG-TAPE-2, specified if &amp;lt;destination type&amp;gt; = VOLUME&lt;br /&gt;
; &amp;lt;destination unit&amp;gt; : specified only if system has multiple units and &amp;lt;destination type&amp;gt; = VOLUME&lt;br /&gt;
; &amp;lt;destination volume name&amp;gt; : name of the destination tape reel label. Specified only if &amp;lt;destination type&amp;gt; = VOLUME&lt;br /&gt;
; &amp;lt;destination file generation&amp;gt; : four character identification of this backup generation, specified only if &amp;lt;destination type&amp;gt; = VOLUME&lt;br /&gt;
; &amp;lt;source type&amp;gt; : DIRECTORY or VOLUME (default = DIRECTORY)&lt;br /&gt;
; &amp;lt;source files&amp;gt; : copy all files matching this name. Can be abbreviated. Applies to any &amp;lt;source type&amp;gt; (if VOLUME, default is all files, if DIRECTORY default is all files for terminal user in default directory)&lt;br /&gt;
; &amp;lt;source device name&amp;gt; : choose MAG-TAPE-1 or MAG-TAPE-2, specified if &amp;lt;destination type&amp;gt; = VOLUME&lt;br /&gt;
; &amp;lt;source unit&amp;gt; : specified only if system has multiple units and &amp;lt;destination type&amp;gt; = VOLUME&lt;br /&gt;
; &amp;lt;source volume name&amp;gt; : name of the destination tape reel label. Specified only if &amp;lt;destination type&amp;gt; = VOLUME&lt;br /&gt;
; &amp;lt;source file generation&amp;gt; : four character identification of this backup generation, specified only if &amp;lt;destination type&amp;gt; = VOLUME&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Rules:&lt;br /&gt;
#permitted for all users.&lt;br /&gt;
#If a volume is owned (created) by user SYSTEM, it may contain files for several users. But only files for one user may be copied in one @COPY-USERS-FILES command. If a volume is owned by any other user, it may only contain files for that user.&lt;br /&gt;
#When files are copied to a volume they are appended at the end of the volume.&lt;br /&gt;
#When files are copied to a directory, the user must be created and have space in the destination directory. If a file does not exist in the destination directory, it will be created, however, contiguous files must be created first.&lt;br /&gt;
#&amp;lt;source file generation&amp;gt; or &amp;lt;destination file generation&amp;gt; are an extension to the file name when used as a file reference.&lt;br /&gt;
#Files are copied including their &amp;quot;holes&amp;quot;.&lt;br /&gt;
#Note that if there is only one unit on the device, the &amp;lt;destination unit&amp;gt; or &amp;lt;source unit&amp;gt; MUST NOT be specified.&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
@COPY-USERS-FILES DIR, P-3, DIR, A:SYMB&lt;br /&gt;
&lt;br /&gt;
Copy all symbolic files matching A:SYMB to the directory P-3.&lt;br /&gt;
&lt;br /&gt;
@CREATE-VOLUME VOL1 MAG-TAPE-1&lt;br /&gt;
&lt;br /&gt;
@COPY-USERS-FILES VOL, MAG-TAPE-1, VOL1, 0312, DIR, :SYMB&lt;br /&gt;
&lt;br /&gt;
Make a backup of all symbolic files of the currently logged on user on a magnetic tape volume.&lt;br /&gt;
&lt;br /&gt;
Assuming user SYSTEM is logged on:&lt;br /&gt;
&lt;br /&gt;
@CREATE-VOLUME VOLSY, MAG-TAPE-1&lt;br /&gt;
&lt;br /&gt;
@COPY-USERS-FILES VOL, M-T-1, VOLS, 0312, DIR (OLE):SYMB&lt;br /&gt;
&lt;br /&gt;
@COPY-USERS-FILES VOL, M-T-1, VOLS, 0312, DIR (PER):SYMB&lt;br /&gt;
&lt;br /&gt;
this command sequence will make a backup of the symbolic files of users OLE and PER on a magnetic tape volume.&lt;br /&gt;
&lt;br /&gt;
@COPY-USERS-FILES DIR, P-3, VOL, M-T-1, VOL1, A:SYMB, 0312&lt;br /&gt;
&lt;br /&gt;
This command will replace all symbolic files starting with A in directory P-3 for the current user with the corresponding files in the magnetic tape volume VOL1, from backup generation 0312.&lt;br /&gt;
== Related commands ==&lt;br /&gt;
@[[COPY]]&lt;br /&gt;
&lt;br /&gt;
@[[COPY-FILE]]&lt;br /&gt;
&lt;br /&gt;
@[[CREATE-VOLUME]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{ND-doc|60.128.01}} (printed June 1980), pages 1-41, 1-42&lt;br /&gt;
&lt;br /&gt;
{{ND-doc|60.174.Q01}}&lt;br /&gt;
[[Category:Background Commands]]&lt;/div&gt;</summary>
		<author><name>Tingo</name></author>
	</entry>
</feed>