mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 19:59:24 +08:00
95422e4735
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
547 B
547 B
fscrypt
Go tool for managing Linux filesystem encryption. More information: https://github.com/google/fscrypt.
- Prepare the root filesystem for use with
fscrypt:
sudo fscrypt setup
- Prepare a specific mountpoint for use with
fscrypt:
fscrypt setup {{path/to/directory}}
- 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}}