coreutils

General Software Utilities
git clone http://git.omkov.net/coreutils
Log | Tree | Refs | README | LICENCE | Download

coreutils/man/rmdir.1 (40 lines, 882 B) -rw-r--r-- blame download

0123456789101112131415161718192021222324252627282930313233343536373839
.TH RMDIR 1 2022-03-06 "OMKOV coreutils" "General Commands Manual"
.SH NAME
rmdir \(em remove directories
.SH SYNOPSYS
\fBrmdir\fR [-p] \fIdir\fR...
.SH DESCRIPTION
Remove the directory specified by each \fIdir\fR operand, provided it is empty.
.SH OPTIONS
The following options are supported:
.TP
.B -p
Remove all directories in a pathname, provided they are empty.
.TP
.B --help
Display help information.
.TP
.B --version
Display version information.
.SH OPERANDS
The following operand is supported:
.TP
.I dir
A path of a directory to be removed.
.SH EXIT STATUS
The following exit values will be returned:
.TP
\ 0
Successful completion.
.TP
>0
An error occurred.
.SH STANDARDS
The \fIrmdir\fR utility is compliant with the IEEE Std 1003.2-1992 ("POSIX.2")
specification.
.SH COPYRIGHT
.nf
Copyright (C) 2020, Jakob Wakeling
MIT Licence (https://opensource.org/licenses/MIT)
.fi