gno/bin/rmdir/rmdir.1

53 lines
1.1 KiB
Groff
Raw Normal View History

1997-10-30 02:33:49 +00:00
.\"
.\" Devin Reade, 1994
.\"
.\" $Id: rmdir.1,v 1.2 1997/10/30 02:33:49 gdr Exp $
.\"
.TH RMDIR 1 "17 October 1997" GNO "Commands and Applications"
1996-01-28 00:51:56 +00:00
.SH NAME
rmdir \- remove (delete) a directory
.SH SYNOPSIS
.BR rmdir
[
1997-10-30 02:33:49 +00:00
.BR -p
1996-01-28 00:51:56 +00:00
]
1997-10-30 02:33:49 +00:00
.IR dir " ..."
1996-01-28 00:51:56 +00:00
.SH DESCRIPTION
.BR rmdir
will delete all the listed directories.
.BR rmdir
will print an error and skip the file if
.I dir
is not a directory, is non-empty, or if the user does not
have permission to delete it.
.LP
1997-10-30 02:33:49 +00:00
If the
.BR -p
flag is given, then
1996-01-28 00:51:56 +00:00
.BR rmdir
1997-10-30 02:33:49 +00:00
will attempt to recursively delete all empty directories in the pathname
.IR dir ,
not including the volume name (if given).
1996-01-28 00:51:56 +00:00
.SH BUGS
It is possible to delete the current directory of
.B rmdir
or another process.
1997-10-30 02:33:49 +00:00
.SH VERSION
This manual page documents
.BR rmdir
version 1.1.
.SH STANDARDS
The
.BR rmdir
utility corresponds to POSIX 1003.2.
1996-01-28 00:51:56 +00:00
.SH AUTHOR
Devin Reade, <gdr@myrias.ab.ca>
1997-10-30 02:33:49 +00:00
.LP
This program contains material from the ORCA/C run\-time libraries,
Copyright 1987\-1997 Byte Works Inc. Used with permission.
1996-01-28 00:51:56 +00:00
.SH "SEE ALSO"
.BR cp (1),
1997-10-30 02:33:49 +00:00
.BR rm (1),
.BR rmdir (1),
.BR rmdir (2).