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
16 ignore each failure that is solely because a directory
17
18 is non-empty
19
20 -p, --parents
21 remove DIRECTORY and its ancestors; e.g., 'rmdir -p a/b/c' is
22 similar to 'rmdir a/b/c a/b a'
23
24 -v, --verbose
25 output a diagnostic for every directory processed
26
27 --help display this help and exit
28
29 --version
30 output version information and exit
31
33 Written by David MacKenzie.
34
36 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
37 Report any translation bugs to <https://translationproject.org/team/>
38
40 Copyright © 2021 Free Software Foundation, Inc. License GPLv3+: GNU
41 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
42 This is free software: you are free to change and redistribute it.
43 There is NO WARRANTY, to the extent permitted by law.
44
46 rmdir(2)
47
48 Full documentation <https://www.gnu.org/software/coreutils/rmdir>
49 or available locally via: info '(coreutils) rmdir invocation'
50
51
52
53GNU coreutils 9.0 March 2022 RMDIR(1)