8000 tmuxp/docs/cli/freeze.md at master · tmux-python/tmuxp · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 846 Bytes

File metadata and controls

45 lines (29 loc) · 846 Bytes

(cli-freeze)=

(cli-freeze-reference)=

tmuxp freeze

Export a running tmux session to a workspace configuration file. This allows you to save the current state of your tmux session for later restoration.

Command

.. argparse::
    :module: tmuxp.cli
    :func: create_parser
    :prog: tmuxp
    :path: freeze

Basic usage

Freeze the current session:

$ tmuxp freeze

Freeze a specific session by name:

$ tmuxp freeze [session_name]

Overwrite an existing workspace file:

$ tmuxp freeze --force [session_name]

Output format

Tmuxp will offer to save your session state to .json or .yaml.

If no session is specified, it will default to the attached session.

If the --force argument is passed, it will overwrite any existing workspace file with the same name.

0