mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 22:56:59 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/windows/sdelete
Normal file
25
tldr/windows/sdelete
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# sdelete
|
||||
|
||||
> Securely delete file/directory from disk, or clean the free space on a volume/physical disk.
|
||||
> More information: <https://learn.microsoft.com/en-us/sysinternals/downloads/sdelete>.
|
||||
|
||||
- Delete files with 3 [p]asses:
|
||||
|
||||
`sdelete -p 3 {{path oile1 path oile2 ...}}`
|
||||
|
||||
- Delete folders and its [s]ubdirectories with 1 pass (default):
|
||||
|
||||
`sdelete -s {{path o\directory1 path o\directory2 ...}}`
|
||||
|
||||
- Clean the free space of volume D: with 3 [p]asses:
|
||||
|
||||
`sdelete -p 3 D:`
|
||||
|
||||
- Clean the free space with [z]eros of physical disk 2, which should not contain any volumes to be cleaned:
|
||||
|
||||
`sdelete -z 2`
|
||||
Reference in New Issue
Block a user