File: rmdir.1

package info (click to toggle)
fileutils 3.16-5.3
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 3,968 kB
  • ctags: 3,192
  • sloc: ansic: 32,790; yacc: 1,032; makefile: 280; sh: 277; sed: 93; perl: 66
file content (27 lines) | stat: -rw-r--r-- 876 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.TH RMDIR 1 "GNU File Utilities" "FSF" \" -*- nroff -*-
.SH NAME
rmdir \- remove empty directories
.SH SYNOPSIS
.B rmdir
[\-p] [\-\-parents] [\-\-help] [\-\-version] dir...
.SH DESCRIPTION
This documentation is no longer being maintained and may be inaccurate
or incomplete.  The Texinfo documentation is now the authoritative source.
.PP
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, \-\-parents"
Remove any parent directories that are explicitly mentioned in an
argument, if they become empty after the argument file is removed.
.TP
.I "\-\-help"
Print a usage message on standard output and exit successfully.
.TP
.I "\-\-version"
Print version information on standard output then exit successfully.