.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.3.
.TH RMDIR "1" "January 2026" "GNU coreutils 8.32" "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.
.HP
\fB\-\-ignore\-fail\-on\-non\-empty\fR
.IP
ignore each failure that is solely because a directory
.IP
is non\-empty
.TP
\fB\-p\fR, \fB\-\-parents\fR
remove DIRECTORY and its ancestors; e.g., 'rmdir \fB\-p\fR a/b/c' is
similar to 'rmdir a/b/c a/b a'
.TP
\fB\-v\fR, \fB\-\-verbose\fR
output a diagnostic for every directory processed
.TP
\fB\-\-help\fR
display this help and exit
.TP
\fB\-\-version\fR
output version information and exit
.SH AUTHOR
Written by David MacKenzie.
.SH "REPORTING BUGS"
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
.br
Report any translation bugs to <https://translationproject.org/team/>
.SH COPYRIGHT
Copyright \(co 2020 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"
rmdir(2)
.PP
.br
Full documentation <https://www.gnu.org/software/coreutils/rmdir>
.br
or available locally via: info \(aq(coreutils) rmdir invocation\(aq
