mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 01:42:09 +02:00
del: add page (#1963)
This commit is contained in:
parent
2b3bf5c8ee
commit
b66a1c9180
1 changed files with 31 additions and 0 deletions
31
pages/windows/del.md
Normal file
31
pages/windows/del.md
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# del
|
||||||
|
|
||||||
|
> Delete one or more files.
|
||||||
|
|
||||||
|
- Delete one or more space-separated files or patterns:
|
||||||
|
|
||||||
|
`del {{file_pattern}}`
|
||||||
|
|
||||||
|
- Prompt for confirmation before deleting each file:
|
||||||
|
|
||||||
|
`del {{file_pattern}} /p`
|
||||||
|
|
||||||
|
- Force the deletion of read-only files:
|
||||||
|
|
||||||
|
`del {{file_pattern}} /f`
|
||||||
|
|
||||||
|
- Recursively delete file(s) from all subdirectories:
|
||||||
|
|
||||||
|
`del {{file_pattern}} /s`
|
||||||
|
|
||||||
|
- Do not prompt when deleting files based on a global wildcard:
|
||||||
|
|
||||||
|
`del {{file_pattern}} /q`
|
||||||
|
|
||||||
|
- Display the help and list available attributes:
|
||||||
|
|
||||||
|
`del /?`
|
||||||
|
|
||||||
|
- Delete files based on specified attributes:
|
||||||
|
|
||||||
|
`del {{file_pattern}} /a {{attribute}}`
|
Loading…
Add table
Reference in a new issue