tldr/pages/linux/tomb.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

931 B

tomb

Manage encrypted storage directories that can be safely transported and hidden in a filesystem.

  • Create a new tomb with an initial size of 100MB:

tomb dig -s {{100}} {{encrypted_directory.tomb}}

  • Create a new key file that can be used to lock a tomb; user will be prompted for a password for the key:

tomb forge {{encrypted_directory.tomb.key}}

  • Initialize and lock an empty tomb using a key made with forge:

tomb lock {{encrypted_directory.tomb}} -k {{encrypted_directory.tomb.key}}

  • Mount a tomb (by default in /media) using its key, making it usable as a regular filesystem directory:

tomb open {{encrypted_directory.tomb}} -k {{encrypted_directory.tomb.key}}

  • Close a tomb (fails if the tomb is being used by a process):

tomb close {{encrypted_directory.tomb}}

  • Forcefully close all open tombs, killing any applications using them:

tomb slam all

  • List all open tombs:

tomb list