Cisco Systems 1.0 (1) Marine Radio User Manual


 
Cisco Support Tools 1.0 User Guide How to Use the CP Utility 215
Command Line Options
The options for CP are:
-i: ask for confirmation before overwriting each destination file.
-f: copy the file, don't ask for confirmation even if it will overwrite a file marked
Read-Only.
-p: preserve the source attributes and last modified date and time for the
destination file. This is the default. To turn if off use -p-.
-r: recursively copy all of the files and subdirectories specified by the filename,
including the named directory.
-v: print out status as the cp progresses.
-d: preserve the directory structure of the specified files (which must all be specified
with relative paths) when placing them in the specified directory. For example, 'cp -
d foo\bar\baz otherdir' will make the directories otherdir\foo and
otherdir\bar if necessary, then copy foo\bar\baz to otherdir\foo\bar\baz.
-?: Display program description.
Note: If the environment variable CP exists, its value is used to establish default
options.
Note: You can override an option that was specified in the environment variable by
following the option with a minus '-' sign. For example, to turn off the -i option,
specify -i-.
Note: The order of options f and i is significant: the one specified last determines
whether a confirmation is requested.
See Also
For related information, see:
About Common Utilities