home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Phoenix CD 2.0
/
Phoenix_CD.cdr
/
11a
/
copymove.zip
/
CP.TXT
< prev
next >
Wrap
Text File
|
1986-08-19
|
1KB
|
41 lines
CP.EXE, MV.EXE
Class: Unix
Copy or move files
NAME
CP Copy files
MV Move files
SYNOPSIS
cp [-cdeirtv] <file/dir> <file/dir>
mv [-cdeirtv] <file/dir> <file/dir>
DESCRIPTION
CP copies files from one path/disk to another. The copy may be performed
recursively, checked before doing and verified after to ensure proper
copying. MV performs the same functions only the source file is deleted
after the copy.
FLAGS
-c check (verify) after move/copy
-d copy directories given
-e if destination exist, prompt for overwrite permission
-i inquire before move/copy
-r recursive move/copy
-t copy: copy time and date default is not to ie create new file
move: do not move time and date. default is to
-v verbose
NOTES
Use the recursive mode to copy or move entire directories of disks
including all sub-directories. Will automatically create sub-directories
as needed.
Default optionsmay be set using the environment variables CP and MV.
SET CP=vt will set the default to verbose and copy time. To override
these options state the flag in the command line.
cp -v will turn off the verbose mode if set in the environments.