mirror of https://github.com/CrimsonTome/tldr.git
rm: add safe directory removal example (#13597)
parent
5787aa4b46
commit
d626baf05d
|
@ -23,3 +23,7 @@
|
||||||
- Remove specific files and directories recursively:
|
- Remove specific files and directories recursively:
|
||||||
|
|
||||||
`rm --recursive {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
|
`rm --recursive {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
|
||||||
|
|
||||||
|
- Remove empty directories (this is considered the safe method):
|
||||||
|
|
||||||
|
`rm --dir {{path/to/directory}}`
|
||||||
|
|
Loading…
Reference in New Issue