1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 20:35:25 +02:00

cipher: edit page (#9312)

This commit is contained in:
Lena 2022-11-09 05:24:50 +01:00 committed by GitHub
parent b52483383e
commit d72e639555
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +1,17 @@
# cipher
> Encrypt or decrypt files on NTFS drives.
> Display or alter the encryption of directories and files on NTFS volumes.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/cipher>.
- Encrypt a file or directory:
- Display information about a specific encrypted file or directory:
`cipher /c:{{path/to/file_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/to/file_or_directory}}`
- Decrypt a file or directory:
- [d]ecrypt a file or directory:
`cipher /d:{{path/to/file_or_directory}}`