STScI Logo

copy system


NAME · USAGE · PARAMETERS · DESCRIPTION · EXAMPLES · SEE_ALSO

NAME

copy -- copy a file, or a set of files to a directory

USAGE

copy input output

PARAMETERS

input
The input file or list of files to be copied.
output
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.

DESCRIPTION

Copy makes a copy of a single file, or it copies a set of files to a different directory.

EXAMPLES

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 .

SEE ALSO

concatenate, movefiles


Source Code · Search Form · STSDAS