rmdir
v(uutils coreutils) 0.8.0
rmdir [OPTION]... RÉPERTOIRE...
Supprimer les RÉPERTOIRE(S), s’ils sont vides.
Options
--ignore-fail-on-non-empty-
ignorer chaque échec qui est uniquement dû au fait qu’un répertoire n’est pas vide
--parents,-p-
supprimer RÉPERTOIRE et ses ancêtres ; p. ex., ‘rmdir -p a/b/c’ est similaire à rmdir a/b/c a/b a
--verbose,-v-
afficher un diagnostic pour chaque répertoire traité
Examples
The examples have not been translated yet and are shown in English. You can help by translating them on tldr-pages.
Remove specific directories:
rmdir {{path/to/directory1 path/to/directory2 ...}}
Remove specific nested directories recursively:
rmdir {{[-p|--parents]}} {{path/to/directory1 path/to/directory2 ...}}
Clean a directory of empty directories:
rmdir *
The examples are provided by the tldr-pages project under the CC BY 4.0 License.
Please note that, as uutils is a work in progress, some examples might fail.