The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.

AUTHOR

The Perl implementation of rmdir was written by Abigail, perlpowertools@abigail.be.

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.