1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 09:17:57 +01:00
tldr/pages/common/rmdir.md

12 lines
223 B
Markdown
Raw Normal View History

2014-02-17 17:49:17 +01:00
# rmdir
> Removes a directory.
2014-02-17 17:49:17 +01:00
- Removes directory, provided it is empty. Use `rm` to remove not empty directories:
2014-02-17 17:49:17 +01:00
`rmdir {{directory}}`
- Removes directories recursively (useful for nested dirs):
2014-02-17 17:49:17 +01:00
`rmdir -p {{path}}`