Skip to content
Jaromil edited this page Jun 2, 2014 · 16 revisions

Create a tomb

("tomb create" command is now deprecated!)

To create a new tomb just launch this 3 commands:

tomb dig -s

tomb forge -k

tomb lock -k

Open an existing tomb

To open an existing tomb use this command:

tomb open -k

The open tomb will be mounted in /media/tomb-name.

If the key is from stdin:

cat | tomb open -k - /path-to-tomb/tomb-name

For instance if the "tomb.key" is on another server, use ssh without saving it to open "secret.tomb":

ssh my.other.server.net 'cat tomb.key' | tomb open -k - secrets.tomb

Will make your secrets.tomb contents accessible in /media/secrets.tomb/

Close one or more tombs

To close an opened tomb:

tomb close

To close all opened tombs:

tomb close all

If a tomb is busy and you want to close it:

tomb slam

WARNING: this command will kill all the processes that keeps a tomb busy.

Clone this wiki locally