Skip to content

Commit 1b2e7de

Browse files
author
Eugene Lebedev
committed
Update docs
1 parent 0ce7924 commit 1b2e7de

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ See [Architecture.md](docs/Architecture.md).
2424

2525
## Performance, resources and stability
2626

27-
SPT is ultra-fast and eats 13 KB of RAM, but strongly depends on chrome webdriver.
27+
SPT is ultra-fast and eats 13 KB of RAM, but strongly depends on chrome webdriver. You can tweak delays in config file.
2828

29-
I did tests with Core i7 12650H and 1800+ accounts, webdriver eats 2-3 GB of RAM and crashed on 70%.
29+
### Get empty permissions and checkpoints
30+
31+
I did tests for `get-empty` command with Core i7 12650H and 1800+ accounts, webdriver ate 2-3 GB of RAM and crashed on 70% with message:
3032

3133
> error: webDriver command error: webdriver returned error: unknown error: session deleted because of page crash
3234

docs/Usage.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,24 @@
66

77
## 1. Set permissions
88

9-
1. Prepare XML file for import
9+
1. Create backup of your sysPass data
10+
11+
2. Prepare XML file for import
1012

1113
Prepare `import.xml` file. You can override filename with `--xml-file` option.
1214

13-
2. Prepare app config:
15+
3. Prepare app config:
1416

1517
```shell
1618
cp spt.yml-dist spt.yml
1719
```
1820

1921
Edit and put valid credentials, tokens, etc.
2022

21-
3. Run:
23+
4. Run:
2224

2325
```shell
24-
./spt set
26+
./spt set --xml-file import.xml
2527
```
2628

2729
## 2. Get empty permissions
@@ -39,10 +41,10 @@ Options:
3941
- `--resume` - try to continue process based on file cache.
4042

4143
- Account filters:
42-
- `--category`
43-
- `--client`
44-
- `--login-starts-with`
45-
- `--name-starts-with`
44+
- `--category <name>`
45+
- `--client <name>`
46+
- `--login-starts-with <name>`
47+
- `--name-starts-with <name>`
4648

4749
Example output:
4850

0 commit comments

Comments
 (0)