CDCP(1,C) AIX Commands Reference CDCP(1,C)
-------------------------------------------------------------------------------
cdcp
PURPOSE
Copies files from CD-ROM.
SYNTAX
cdcp --- cdfile --- diskfile ---|
cdcp --- cdfile --- diskdir ---|
^ |
+----------+
Note: This command is for the PS/2 only.
DESCRIPTION
The cdcp command is a CD-ROM command. The cdcp command copies one or more
files from a CD-ROM to a standard file system. In the first form, the single
file cdfile is copied to diskfile. If diskfile already exists, it must be
writable (and will be overwritten). In the second form, one or more CD-ROM
files are copied to the directory diskdir. In this case, the names of the
created files are the base names of the corresponding CD-ROM files.
Letters in file names on a CD-ROM are restricted to uppercase. However, cdcp
performs an internal case translation so that mixed-case arguments match CD-ROM
file names. This translation applies only to files on the CD-ROM; resulting
file names are as typed. For example:
cdcp /cd00/NextOne.txt homedir
copies the CD-ROM file NEXTONE.TXT into the file system as homedir/NextOne.txt.
CD-ROM file names are written as an absolute path beginning with an alias for a
device name, normally /cd0. If a file name is written in relative form (that
is, without a leading slash), the /cd0 prefix is assumed.
Note: Once the alias name is defined by cdmount, cdcp should be able to use
relative path name and have the system assume the prefix (that is, local
alias). However, if the local alias is something other than /cd0, then
the full path name must be used.
FILES
/dev/rcd0
/dev/rcdrom0
Processed November 8, 1990 CDCP(1,C) 1
CDCP(1,C) AIX Commands Reference CDCP(1,C)
RELATED INFORMATION
See the following commands: "cdls" and "cdcat."
Processed November 8, 1990 CDCP(1,C) 2