OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / gnumaniak / original / man1 / rmdir.1
1 .\" Copyright Andries Brouwer, A. Wik 1998, Ragnar Hojland Espinosa 1998-2002
2 .\"
3 .\" This file may be copied under the conditions described
4 .\" in the LDP GENERAL PUBLIC LICENSE, Version 1, September 1998
5 .\" that should have been distributed together with this file.
6 .\"
7 .TH RMDIR 1 "18 June 2002" "GNU fileutils 4.1"
8 .SH NAME
9 rmdir \- remove empty directories
10 .SH SYNOPSIS
11 .BI "rmdir [" options "] " directory...
12 .sp
13 POSIX options:
14 .B "[\-p]"
15 .sp
16 GNU options (shortest form):
17 .B [\-pv] [\-\-ignore\-fail\-on\-non\-empty]
18 .B "[\-\-help] [\-\-version] [\-\-]"
19 .SH DESCRIPTION
20 .B rmdir
21 removes empty directories.
22 .PP
23 If any
24 .I directory
25 argument does not refer to an existing empty directory, it is an error.
26 .SH "POSIX OPTIONS"
27 .TP
28 .B "\-p"
29 If
30 .I directory
31 includes more than one pathname component, remove it, then strip
32 the last component and remove the resulting directory, etc., until
33 all components have been removed. Thus, `rmdir -p a/b/c' is
34 equivalent to `rmdir a/b/c; rmdir a/b; rmdir a'.
35 .SH GNU OPTIONS
36 .TP
37 .B \-\-ignore\-fail\-on\-non\-empty
38 Ignore failures becaused by directories not being empty.
39 .TP
40 .B "\-p, \-\-parents"
41 As POSIX.
42 .TP
43 .B \"\v, -\-verbose"
44 Print each directory removed.
45 .SH "GNU STANDARD OPTIONS"
46 .TP
47 .B "\-\-help"
48 Print a usage message on standard output and exit successfully.
49 .TP
50 .B "\-\-version"
51 Print version information on standard output, then exit successfully.
52 .TP
53 .B "\-\-"
54 Terminate option list.
55 .SH ENVIRONMENT
56 The variables LANG, LC_ALL, LC_CTYPE and LC_MESSAGES have the
57 usual meaning.
58 .SH "CONFORMING TO"
59 POSIX 1003.2
60 .SH NOTES
61 This page describes
62 .B rmdir
63 as found in the fileutils-4.1 package;
64 other versions may differ slightly. Mail corrections and additions to
65 aeb@cwi.nl and aw@mail1.bet1.puv.fi and ragnar@ragnar-hojland.com
66 Report bugs in the program to bug-fileutils@gnu.org.