1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 04:17:58 +01:00
tldr/pages/common/rmdir.md
2016-07-13 09:53:22 +01:00

242 B

rmdir

Removes a directory.

  • Remove directory, provided it is empty. Use rm to remove not empty directories:

rmdir {{path/to/directory}}

  • Remove directories recursively (useful for nested dirs):

rmdir -p {{path/to/directory}}