mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 22:47:03 +00:00
Update cheatsheets
This commit is contained in:
25
linux/fscrypt
Normal file
25
linux/fscrypt
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# fscrypt
|
||||
|
||||
> Go tool for managing Linux filesystem encryption.
|
||||
> More information: <https://github.com/google/fscrypt>.
|
||||
|
||||
- Prepare the root filesystem for use with fscrypt:
|
||||
|
||||
`fscrypt setup`
|
||||
|
||||
- Enable filesystem encryption for a directory:
|
||||
|
||||
`fscrypt encrypt {{path/to/directory}}`
|
||||
|
||||
- Unlock an encrypted directory:
|
||||
|
||||
`fscrypt unlock {{path/to/encrypted_directory}}`
|
||||
|
||||
- Lock an encrypted directory:
|
||||
|
||||
`fscrypt lock {{path/to/encrypted_directory}}`
|
||||
Reference in New Issue
Block a user