1RMDIR(1) User Commands RMDIR(1)
2
3
4
6 rmdir - remove empty directories
7
9 rmdir [OPTION]... DIRECTORY...
10
12 Remove the DIRECTORY(ies), if they are empty.
13
14 --ignore-fail-on-non-empty
15 ignore each failure that is solely because a directory is
16 non-empty
17
18 -p, --parents
19 remove DIRECTORY and its ancestors; e.g., 'rmdir -p a/b/c' is
20 similar to 'rmdir a/b/c a/b a'
21
22 -v, --verbose
23 output a diagnostic for every directory processed
24
25 --help display this help and exit
26
27 --version
28 output version information and exit
29
31 Written by David MacKenzie.
32
34 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
35 Report any translation bugs to <https://translationproject.org/team/>
36
38 Copyright © 2022 Free Software Foundation, Inc. License GPLv3+: GNU
39 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
40 This is free software: you are free to change and redistribute it.
41 There is NO WARRANTY, to the extent permitted by law.
42
44 rmdir(2)
45
46 Full documentation <https://www.gnu.org/software/coreutils/rmdir>
47 or available locally via: info '(coreutils) rmdir invocation'
48
49
50
51GNU coreutils 9.1 May 2023 RMDIR(1)