Files
oldlinux-files/Linux-0.98/Yggdrasil-0.98.3/usr/man/man1/rmdir.1
2024-02-19 00:21:16 -05:00

23 lines
711 B
Groff

.TH RMDIR 1L \" -*- nroff -*-
.SH NAME
rmdir \- remove empty directories
.SH SYNOPSIS
.B rmdir
[\-p] [\-\-path] dir...
.SH DESCRIPTION
This manual page
documents the GNU version of
.BR rmdir .
.B rmdir
removes each given empty directory. If any non-option argument
does not refer to an existing empty directory, it is an error.
.SS OPTIONS
.TP
.I "\-p, \-\-path"
Remove any parent directories that are explicitly mentioned in an
argument, if they become empty after the argument file is removed.
.PP
The long-named options can be introduced with `+' as well as `\-\-',
for compatibility with previous releases. Eventually support for `+'
will be removed, because it is incompatible with the POSIX.2 standard.