Description

La commande rmdir permet d'effacer un répertoire dans le répertoire courant.

Exemples

(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)

Informations complémentaires

  • man rmdir

Trucs et astuces