Git Product home page Git Product logo

retmux's Introduction

retmux README file

			  __
   ________  / /_____ ___  __  ___  __
  / ___/ _ \/ __/ __ `__ \/ / / / |/_/
 / /  /  __/ /_/ / / / / / /_/ />  <  
/_/   \___/\__/_/ /_/ /_/\__,_/_/|_|

	- A tmux session backup/reload tool

Table of contents

(toc generated by ghtoc)

Introduction

Tmux is very handy tool. However we cannot persist the sessions and reload them later. We want to restore our sessions in some situations. E.g. when we have to reboot the machine or we want to "clone" all sessions from a machine to another.

retmux comes to try to solve this problem. It makes tmux backup and restore easily to be done. You can manage your tmux backups with retmux and get your sessions back.

retmux was written and tested with:

  • python 2.7.6
  • tmux 1.8

Features

  • configurable options for (logging, ANSI escapes)
  • (non- or) interactive operations (list/delete/restore/backup)
  • highlighted output
  • most important: tmux sessions backup and restore :)

What can be backed up/restored?

  • sessions : with names, terminal-size
  • windows : with name, order, pane split and split layout
  • panes : with path and content(up to 100000 line history content) with same look and feel (ANSI escapes)

What would NOT be backed up/restored?

  • the processes/programs running in window or pane at backup time
  • the logined user, if the user is not same as the user who started tmux.(e.g. after su)
  • command history in each window
  • buffer stacks (could be done, but didn't see the need)

Example & Screenshots & Demo

  • retmux -h output help view

  • show detail of a tmux backup detail view

Installation

  • for Archlinux user, retmux is available in AUR. If you want to try the development version, install the retmux-git package.
  • for other users:
    • checkout the master branch for stable release version, checkout bleeding branch for development version, then

      sudo python setup.py install

Usage

see the first screenshot in the screenshots section

% vim: nofoldenable

retmux's People

Contributors

sdvcrx avatar sk1418 avatar unoaman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.