copy -- copy a file, or a set of files to a directory
copy input output
- The input file or list of files to be copied.
- The (new) output file when copying one file to another, or the destination directory when copying a set of files.
- verbose = no
- If set to "yes", a line of the type " from -> to " is printed on the terminal for each file copied to a directory. This parameter is not used when copying one file to another.
Copy makes a copy of a single file, or it copies a set of files to a different directory.
1. Copy all files in the current directory with extension ".x" to the directory "home$src". As each copy is made, the user is informed.
cl> copy *.x home$src ver+
2. Make a copy "fred.BAK" of the file "fred".
cl> copy fred fred.BAK
3. Copy the "graphcap" file from the remote node "lyra" to the current node, without changing the name of the file. Note that "." is a synonym for the current directory.
cl> copy lyra!dev$graphcap .