mirror of
https://github.com/trinib/Linux-Bash-Commands.git
synced 2025-04-11 18:29:13 -04:00
Correct typo (i.e., rmdir only removes *empty* directories)
This commit is contained in:
parent
01184651a2
commit
308b57ce09
@ -3256,7 +3256,7 @@ rsync -avz username@hostname:/foo /bar # Copy remote directory t
|
||||
## Deleting Directories
|
||||
|
||||
```bash
|
||||
rmdir foo # Delete non-empty directory
|
||||
rmdir foo # Delete empty directory
|
||||
rm -r|--recursive foo # Delete directory including contents
|
||||
rm -r|--recursive -f|--force foo # Delete directory including contents, ignore nonexistent files and never prompt
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user