2015-10-08 15:15:08 +00:00
|
|
|
.Dd 2015-10-08
|
2015-01-31 13:20:02 +00:00
|
|
|
.Dt RMDIR 1
|
2015-01-31 19:37:03 +00:00
|
|
|
.Os sbase
|
2015-01-30 12:30:03 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm rmdir
|
2015-03-02 16:14:29 +00:00
|
|
|
.Nd remove empty directories
|
2015-01-30 12:30:03 +00:00
|
|
|
.Sh SYNOPSIS
|
2015-01-30 20:17:58 +00:00
|
|
|
.Nm
|
2015-01-30 12:30:03 +00:00
|
|
|
.Op Fl p
|
2015-03-02 16:14:29 +00:00
|
|
|
.Ar dir ...
|
2015-01-30 12:30:03 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
removes each empty
|
2015-03-02 16:14:29 +00:00
|
|
|
.Ar dir .
|
2015-01-30 12:30:03 +00:00
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl p
|
|
|
|
Remove
|
2015-03-02 16:14:29 +00:00
|
|
|
.Ar dir
|
2015-01-30 12:30:03 +00:00
|
|
|
and its parents in the pathname
|
2015-03-02 16:14:29 +00:00
|
|
|
.Ar dir .
|
2015-01-30 12:30:03 +00:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr rm 1 ,
|
|
|
|
.Xr unlink 1 ,
|
2015-01-31 13:43:27 +00:00
|
|
|
.Xr rmdir 2 ,
|
2015-01-30 12:30:03 +00:00
|
|
|
.Xr unlink 2
|
|
|
|
.Sh STANDARDS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility is compliant with the
|
2015-03-27 16:22:48 +00:00
|
|
|
.St -p1003.1-2013
|
2015-01-30 12:30:03 +00:00
|
|
|
specification.
|