Forrest logo
back to the tomb tool

tomb:tldr:2a156

tomb: Initialize and lock an empty tomb using a key made with `forge`.
$ tomb lock ${encrypted_directory-tomb} -k ${encrypted_directory-tomb-key}
try on your machine

The command "tomb lock ${encrypted_directory-tomb} -k ${encrypted_directory-tomb-key}" is used to lock an encrypted directory using the Tomb encryption software.

Here's a breakdown of the command:

  1. "tomb lock" is the main command used to lock the encrypted directory.
  2. "${encrypted_directory-tomb}" is a placeholder for the name or path of the encrypted directory you want to lock. You need to replace it with the actual path or name of the directory.
  3. "-k" is an option flag used to specify the key file to be used for unlocking the tomb.
  4. "${encrypted_directory-tomb-key}" is a placeholder for the name or path of the key file. You need to replace it with the actual path or name of the key file.

So, when executed, this command will lock the specified encrypted directory using the provided key file.

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 tomb tool