1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/fscrypt.md
2021-10-05 21:20:04 +02:00

20 lines
444 B
Markdown

# 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}}`