|
|
HP-UX Reference > Ddosrm(1)TO BE OBSOLETEDHP-UX 11i Version 2: December 2007 Update |
|
NAMEdosrm, dosrmdir — remove DOS files or directories DESCRIPTIONThe dosrm and dosrmdir commands are targeted for removal from HP-UX; see the WARNINGS below. dosrm and dosrmdir are DOS counterparts of rm and rmdir (see rm(1) and rmdir(1), respectively). dosrm removes the entries for one or more files from a directory. If a specified file is a directory, an error message is printed unless the optional argument -r is specified (see below). dosrmdir removes entries for the named directories, provided they are empty. Optionsdosrm and dosrmdir recognize the following options:
A DOS file name is recognized by the presence of an embedded colon (:) delimiter; see dosif(4) for DOS file naming conventions. Metacharacters *, ?, and [ ... ] can be used when specifying DOS file names. These must be quoted when specifying a DOS file name, because file name expansion must be performed by the DOS utilities, not by the shell. DOS utilities expand file names as described in regexp(5) under PATTERN MATCHING NOTATION. EXAMPLESThese examples assume that a DOS directory structure exists on the device accessed through the HP-UX special file /dev/rfd9122. Recursively comb through the DOS directory /tmp and ask if each DOS file should be removed forcibly (that is, with no file mode checks): dosrm -irf /dev/rfd9122:/tmp Remove the DOS directory doug from the DOS volume stored as HP-UX file hard_disk: dosrmdir hard_disk:doug SEE ALSOdos2ux(1), doschmod(1), doscp(1), dosdf(1), dosls(1), dosmkdir(1), rm(1), rmdir(1), dosif(4). |
|