Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

25
windows/cipher Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# cipher
> Display or alter the encryption of directories and files on NTFS volumes.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/cipher>.
- Display information about a specific encrypted file or directory:
`cipher /c:{{path o ile_or_directory}}`
- [e]ncrypt a file or directory (files added later to the directory are also encrypted as the directory is marked):
`cipher /e:{{path o ile_or_directory}}`
- [d]ecrypt a file or directory:
`cipher /d:{{path o ile_or_directory}}`
- Securely remove a file or directory:
`cipher /w:{{path o ile_or_directory}}`