.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.50.1.
.TH RMDIR "1" "March 2026" "GNU coreutils 9.10" "User Commands"
.SH NAME
rmdir \- remove empty directories
.SH SYNOPSIS
.B rmdir
[\fI\,OPTION\/\fR]... \fI\,DIRECTORY\/\fR...
.SH DESCRIPTION
.\" Add any additional description here
.PP
Remove the DIRECTORY(ies), if they are empty.
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#rmdir--ignore-fail-on-non-empty'\fB\-\-ignore\-fail\-on\-non\-empty\fP\X'tty: link'
ignore each failure to remove a non\-empty directory
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#rmdir-p'\fB\-p, \-\-parents\fP\X'tty: link'
remove DIRECTORY and its ancestors;
e.g., 'rmdir \fB\-p\fR a/b' is similar to 'rmdir a/b a'
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#rmdir-v'\fB\-v, \-\-verbose\fP\X'tty: link'
output a diagnostic for every directory processed
.TP
\X'tty: link https://www.gnu.org/software/coreutils/rmdir#rmdir--help'\fB\-\-help\fP\X'tty: link'
display this help and exit
.TP
\X'tty: link https://www.gnu.org/software/coreutils/rmdir#rmdir--version'\fB\-\-version\fP\X'tty: link'
output version information and exit
.SH AUTHOR
Written by David MacKenzie.
.SH "REPORTING BUGS"
Report bugs to: bug\-coreutils@gnu.org
.br
GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
.br
General help using GNU software: <https://www.gnu.org/gethelp/>
.br
Report any translation bugs to <https://translationproject.org/team/>
.SH COPYRIGHT
Copyright \(co 2026 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
\fBrmdir\fP(2)
.PP
.br
Full documentation <https://www.gnu.org/software/coreutils/rmdir>
.br
or available locally via: info \(aq(coreutils) rmdir invocation\(aq
