Forrest logo
back to the cryfs tool

cryfs:tldr:02601

cryfs: Mount an encrypted filesystem. The initialization wizard will be started on the first execution.
$ cryfs ${path-to-cipher_dir} ${path-to-mount_point}
try on your machine

The command "cryfs ${path-to-cipher_dir} ${path-to-mount_point}" is used to mount a CryFS encrypted file system on a directory.

Here's a breakdown of the command:

  • "cryfs" is the command itself, which is the executable for the CryFS program that handles the encryption and decryption of files and directories.
  • "${path-to-cipher_dir}" refers to the path of the directory where the encrypted files are stored. This is typically a directory that was previously created by running the command "cryfs create ${path-to-cipher_dir} ${path-to-plain_dir}". The ${path-to-plain_dir} is the directory where the plain unencrypted files are stored.
  • "${path-to-mount_point}" refers to the path of the directory where the decrypted files will be mounted and accessed. This directory must be an empty or non-existent directory on your system.

When you run the command, CryFS will use the provided paths to decrypt the files in the cipher directory and make them accessible in the specified mount point directory. After mounting, any changes made to the files in the mount point directory will be automatically encrypted and written to the cipher directory.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the cryfs tool