rm: add safe directory removal example (#13597)

pull/28/head
Managor 2024-09-04 19:08:41 +03:00 committed by GitHub
parent 5787aa4b46
commit d626baf05d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -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}}`