Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/piroor/treestyletab-sessionstore-migrate
Migrates Tree Style Tab's tree structure information embedded in sessionstore.jsonlz4.
https://github.com/piroor/treestyletab-sessionstore-migrate
Last synced: 13 days ago
JSON representation
Migrates Tree Style Tab's tree structure information embedded in sessionstore.jsonlz4.
- Host: GitHub
- URL: https://github.com/piroor/treestyletab-sessionstore-migrate
- Owner: piroor
- License: mit
- Created: 2017-11-11T11:43:28.000Z (about 7 years ago)
- Default Branch: trunk
- Last Pushed: 2020-06-12T07:15:47.000Z (over 4 years ago)
- Last Synced: 2024-04-26T00:05:40.683Z (7 months ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# treestyletab-sessionstore-migrate
Migrates [Tree Style Tab](https://addons.mozilla.org/firefox/addon/tree-style-tab/)'s tree structure information embedded in sessionstore.jsonlz4, from TST 0.19.x to TST 2.x.
For more details, see the [instruction for migration](https://github.com/piroor/treestyletab/wiki/How-to-convert-session-information-from-old-TST-0.19.x-to-new-TST-2.x).## Install
Install [Node.js](https://nodejs.org/) at first.
On Linux, you'll need to install `npm` also.Then install the npm package `treestyletab-sessionstore-migrate`.
```bash
$ sudo npm install -g treestyletab-sessionstore-migrate
```## Usage
This package provides only one command: `treestyletab-sessionstore-migrate`. Parameters:
* 1st argument: Path to the original `sessionstore.jsonlz4` file. (required)
* 2nd argument: Path to the output file. (optional, default = stdout)```bash
$ cd ~/.mozilla/firefox/xxxxx.default/
$ mv sessionstore.jsonlz4 sessionstore.jsonlz4.bak # backup for safety!
$ treestyletab-sessionstore-migrate sessionstore.jsonlz4.bak sessionstore.jsonlz4
```