1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

sdelete, sdelete64: add page (#14027)

* sdelete, sdelete64: add page

* sdelete: fix style problems

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>

* sdelete64: fix typo

---------

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
Horizon Chaser 2024-10-07 17:38:06 +08:00 committed by GitHub
parent b421868b4e
commit 57b711c753
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 27 additions and 0 deletions

20
pages/windows/sdelete.md Normal file
View file

@ -0,0 +1,20 @@
# 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\to\file1 path\to\file2 ...}}`
- Delete folders and its [s]ubdirectories with 1 pass (default):
`sdelete -s {{path\to\directory1 path\to\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`

View file

@ -0,0 +1,7 @@
# sdelete64
> This command is the 64 bit version of `sdelete`.
- View documentation for the original command:
`tldr sdelete`