2019-07-08 18:11:32 +02:00
|
|
|
# Usage
|
2019-07-08 18:08:33 +02:00
|
|
|
|
2019-07-08 18:11:32 +02:00
|
|
|
```bash
|
|
|
|
ruby slackconverter.rb > dms.json
|
|
|
|
```
|
2019-07-08 18:08:33 +02:00
|
|
|
on your mattermost server:
|
2019-07-08 18:11:32 +02:00
|
|
|
```bash
|
|
|
|
bin/mattermost import bulk --validate dms.json
|
|
|
|
```
|
2019-07-08 18:08:33 +02:00
|
|
|
when there where no errors:
|
2019-07-08 18:11:32 +02:00
|
|
|
```bash
|
|
|
|
bin/mattermost import bulk --apply dms.json
|
|
|
|
```
|