DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Working with files and directories

Copying a directory

To copy all the files in a directory, use the copy(C) command, as follows:

copy old_directory new_directory

old_directory is the name of the directory you want to copy, and new_directory is the name you want the copy to have. Simple names and pathnames are acceptable in both cases.

In order to copy a directory and all its files, you must have read and execute permissions on that directory, read permission on the files in that directory, and write permission on the directory into which you want to copy. See ``Access control for files and directories'' for details.


Next topic: Removing a directory
Previous topic: Renaming a directory

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005