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