ddoossccppddiirr [[--aakkmmvv]] _s_r_c _d_e_s_tdoscpdir copies a directory and its contents between an MS-DOS file system and a COHERENT file system. The MS-DOS file system can reside either on a floppy disk, or on the MS-DOS segment of a hard disk on your system.
src names the directory being copied and the file system where it resides; dest names the file system and directory into which the file is copied. The operating system that owns the src file is implied by the name of the file system on which it resides. An MS-DOS file system must be named using the device that holds it, such as floppy-disk drive /dev/fha0 or hard-disk partition /dev/at0a. You can also build a file of aliases so that you can access the drives as a, b, etc. For details, see the Lexicon entry for doscp, which explains how to set up defaults for the ddooss family of commands.
doscpdir converts a file's name from one operating system's conventions to the other's. An MS-DOS file argument may be specified in lower or upper case, using `/' as the path-name separator. When transferring files from MS-DOS to COHERENT, doscpdir converts an MS-DOS file name to a COHERENT file name in lower case only. If the MS-DOS file name contains no extension, the COHERENT file name contains no `.'. When transferring files from COHERENT to MS-DOS, doscpdir converts all alphabetic characters in a COHERENT file name to upper case; if a period `.' appears at the beginning or end of a file name, doscpdir converts it to `_'. doscpdir truncates the part of the file name before the last `.' to a maximum of eight characters and truncates the extension to a maximum of three characters.
doscpdir recognizes the following options:
doscpdir -va /usr/src c:/mydir
A doscpdir does not understand compressed MS- DOS file systems created by programs such as Stacker or MS-DOS 6.0 dblspace. If you are running MS-DOS with file compression, you must copy files to an uncompressed file system (for example, to an uncompressed floppy disk or to the uncompressed host for a compressed file system) to make them accessible to the doscpdir.