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

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003