mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* pages*: improve wording and list placeholders * clamav: fix verb tenses Co-authored-by: Juri Dispan <juri.dispan@posteo.net> * buzzphrase: use k instead of n for number of phrases Co-authored-by: Juri Dispan <juri.dispan@posteo.net> * adguardhome: use non-default instead of different * adguardhome: use configuration instead of config Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * goimports, module: fix list placeholders Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * pages*: leave stems and extensions in the same placeholders * pages*: fix list placeholders * pages*: fix list placeholders * pages*: apply suggestions from code review Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * qpdf: enclose n with backticks Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --------- Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
37 lines
914 B
Markdown
37 lines
914 B
Markdown
# del
|
|
|
|
> Delete one or more files.
|
|
> In PowerShell, this command is an alias of `Remove-Item`. This documentation is based on the Command Prompt (`cmd`) version of `del`.
|
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/del>.
|
|
|
|
- View the documentation of the equivalent PowerShell command:
|
|
|
|
`tldr remove-item`
|
|
|
|
- Delete one or more files or patterns:
|
|
|
|
`del {{file_pattern1 file_pattern2 ...}}`
|
|
|
|
- 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}}`
|