2014-02-17 16:49:17 +00:00
|
|
|
# rmdir
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Removes a directory.
|
2014-02-17 16:49:17 +00:00
|
|
|
|
2020-07-08 14:15:57 +01:00
|
|
|
- Remove directory, provided it is empty. Use `rm -r` to remove non-empty directories:
|
2014-02-17 16:49:17 +00:00
|
|
|
|
2016-07-13 09:53:22 +01:00
|
|
|
`rmdir {{path/to/directory}}`
|
2014-02-17 16:49:17 +00:00
|
|
|
|
2020-07-07 06:09:46 +01:00
|
|
|
- Remove the target and its parent directories (useful for nested dirs):
|
2014-02-17 16:49:17 +00:00
|
|
|
|
2016-07-13 09:53:22 +01:00
|
|
|
`rmdir -p {{path/to/directory}}`
|