The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

rmdir -- remove directories

SYNOPSIS

rmdir [-p] directory [directories ...]

DESCRIPTION

rmdir removes the directories which are given as argument, if they are empty. Trying to remove a non-empty directory is regarded as an error.

OPTIONS

rmdir accepts the following options:

-p

Make rmdir treat the arguments as path names, of which all non-empty components will be removed. Leftmost components will be removed first.

ENVIRONMENT

The working of rmdir is not influenced by any environment variables.

BUGS

rmdir does not have any known bugs.

STANDARDS

This head implementation is compatible with the OpenBSD implementation, which is expected to be compatible with the IEEE Std1003.2-1992 (aka POSIX.2) standard.

REVISION HISTORY

    $Log: rmdir,v $
    Revision 1.2  2004/08/05 14:17:44  cwest
    cleanup, new version number on website

    Revision 1.1  2004/07/23 20:10:16  cwest
    initial import

    Revision 1.1  1999/02/28 13:32:45  abigail
    Initial revision

AUTHOR

The Perl implementation of rmdir was written by Abigail, abigail@fnx.com.

COPYRIGHT and LICENSE

This program is copyright by Abigail 1999.

This program is free and open software. You may use, copy, modify, distribute and sell this program (and any modified variants) in any way you wish, provided you do not restrict others to do the same.