La commande rmdir
permet d'effacer un répertoire dans le répertoire courant.
(output de la commande tldr rmdir
)
rmdir {{path/to/directory}}
: Remove directory, provided it is empty. Use rm -r
to remove non-empty directories
rmdir -p {{path/to/directory}}
: Remove the target and its parent directories (useful for nested dirs)
man rmdir