Difference between revisions of "Ns cp"

From AOLserver Wiki
Jump to navigation Jump to search
m (Reverted edit of 69.199.61.17, changed back to last version by Vkurup)
 
Line 1: Line 1:
Man page: http://aolserver.com/docs/tcl/ns_cp.html ---- '''NAME''' ns_cp - Copy one file to another. '''SYNOPSIS''' '''ns_cp''' ''?-preserve? file1 file2''   '''DESCRIPTION''' ns_cp copies the contents of ''file1'' to ''file2'', just like the Unix
+
Man page: http://aolserver.com/docs/tcl/ns_cp.html
 +
 
 +
----
 +
 
 +
'''NAME'''
 +
 
 +
ns_cp - Copy one file to another.
 +
 
 +
'''SYNOPSIS'''
 +
 
 +
'''ns_cp''' ''?-preserve? file1 file2''
 +
 
 +
 
 +
'''DESCRIPTION'''
 +
 
 +
ns_cp copies the contents of ''file1'' to ''file2'', just like the Unix "cp" command. The default directory is the home directory for the server.
 +
 
 +
If ''-preserve'' is specified, the copied file will retain the creation time, modification time, owner, and mode of the original file, just like the Unix "cp -p" command.
 +
 
 +
'''SEE ALSO'''
 +
 
 +
Tcl [file copy], [[ns_cpfp]]
 +
 
 +
----
 +
 
 +
[[Category Documentation]] - [[Category Core Tcl API]]

Latest revision as of 12:33, 24 March 2006

Man page: http://aolserver.com/docs/tcl/ns_cp.html


NAME

ns_cp - Copy one file to another.

SYNOPSIS

ns_cp ?-preserve? file1 file2


DESCRIPTION

ns_cp copies the contents of file1 to file2, just like the Unix "cp" command. The default directory is the home directory for the server.

If -preserve is specified, the copied file will retain the creation time, modification time, owner, and mode of the original file, just like the Unix "cp -p" command.

SEE ALSO

Tcl [file copy], ns_cpfp


Category Documentation - Category Core Tcl API