rmdir -- remove directories
rmdir [-p] directory [directories ...]
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.
rmdir accepts the following options:
Make rmdir treat the arguments as path names, of which all non-empty components will be removed. Leftmost components will be removed first.
The working of rmdir is not influenced by any environment variables.
rmdir does not have any known bugs.
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.
$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
The Perl implementation of rmdir was written by Abigail, firstname.lastname@example.org.
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.