mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-04 11:34:03 +02:00
gocryptfs: add page (#2461)
This commit is contained in:
parent
72038e7744
commit
0e1256b244
1 changed files with 23 additions and 0 deletions
23
pages/common/gocryptfs.md
Normal file
23
pages/common/gocryptfs.md
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# gocryptfs
|
||||||
|
|
||||||
|
> Encrypted overlay filesystem written in Go.
|
||||||
|
|
||||||
|
- Initialize an encrypted filesystem:
|
||||||
|
|
||||||
|
`gocryptfs -init {{path/to/cipher_dir}}`
|
||||||
|
|
||||||
|
- Mount an encrypted filesystem:
|
||||||
|
|
||||||
|
`gocryptfs {{path/to/cipher_dir}} {{path/to/mount_point}}`
|
||||||
|
|
||||||
|
- Mount with the explicit master key instead of password:
|
||||||
|
|
||||||
|
`gocryptfs --masterkey {{path/to/cipher_dir}} {{path/to/mount_point}}`
|
||||||
|
|
||||||
|
- Change the password:
|
||||||
|
|
||||||
|
`gocryptfs --passwd {{path/to/cipher_dir}}`
|
||||||
|
|
||||||
|
- Make an encrypted snapshot of a plain directory:
|
||||||
|
|
||||||
|
`gocryptfs --reverse {{path/to/plain_dir}} {{path/to/cipher_dir}}`
|
Loading…
Add table
Reference in a new issue