*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> dosrmdir (1)              
Title
Content
Arch
Section
 

Contents


 dosrm(1)                                                           dosrm(1)
                               TO BE OBSOLETED



 NAME    [Toc]    [Back]
      dosrm, dosrmdir - remove DOS files or directories

 SYNOPSIS    [Toc]    [Back]
      dosrm [-fmriu] device:file ...

      dosrmdir [-mu] device:file ...

 DESCRIPTION    [Toc]    [Back]
      The 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.

    Options    [Toc]    [Back]
      dosrm and dosrmdir recognize the following options:

           -f     (force) Unconditionally remove the specified file, even if
                  the file is marked read-only.

           -r     Cause dosrm to recursively delete the entire contents of a
                  directory, followed by the directory itself.  dosrm can
                  recursively delete up to 17 levels of directories.

           -i     (interactive) Cause dosrm to ask whether or not to delete
                  each file.  If -r is also specified, dosrm asks whether to
                  examine each directory encountered.

           -m     If an ordinary file with the same name as volume label
                  exists, operation will be performed on the file instead of
                  volume label.

           -u     Disable argument case conversion.  In the absence of this
                  option, all DOS file names are converted to uppercase.

      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.



 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003






 dosrm(1)                                                           dosrm(1)
                               TO BE OBSOLETED



 WARNINGS    [Toc]    [Back]
      Use of dosrm and dosrmdir is discouraged because they are targeted for
      removal from HP-UX.

 EXAMPLES    [Toc]    [Back]
      These 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 ALSO    [Toc]    [Back]
      dos2ux(1), doschmod(1), doscp(1), dosdf(1), dosls(1), dosmkdir(1),
      rm(1), rmdir(1), dosif(4).


 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
rm HP-UX remove files or directories
rm Linux remove files or directories
rm IRIX remove files or directories
rmdir FreeBSD remove directories
rmdir HP-UX remove directories
rmdir OpenBSD remove directories
nisrmdir HP-UX remove NIS+ directories
rmdir Linux remove empty directories
File::Path IRIX create or remove a series of directories
mkdirp IRIX create, remove directories in a path
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service