Copy Files or Directories Usage: cp [-filmsh-] source1 [ source2 ... ] destination cp can copy both files and directories. If the destination is an existing directory, the source object(s) will be copied into that directory. If more than one source object is specified, the destination must be a directory, but it need not already exist. If a destination file already exists, it will be overwritten; this is not considered an error and no diagnostic message is given. Any security descriptor an any access control list attached to a source file or directory will be copied to the destination if possible. Under Windows 9x or if the destination filesystem does not support ACLs, that's not possible and the security information will be lost. This is not considered an error and no diagnostic message is given. Options: -c Continue even if errors are encountered attempting to process some input files or directories. -f Force read-only files to be overwritten. -i Interactive: ask before copying each object on the command line. -l Logging is on: display the name of each file or directory as it's copied. -m Merge sub-directories of same name in source and destination. -s Simple copy. Do not copy security descriptors and access control lists. -h Help (this screen.) -- End of options. (Useful if filenames start with "-".)
Previous Utility |
List of External Utilities
| Next Utility
Table of Contents
Copyright © 1988-2003 by
Hamilton Laboratories.
All rights reserved.