Slack2Mattermost_dms_converter/README.md

19 lines
407 B
Markdown
Raw Permalink Normal View History

2019-07-08 18:17:09 +02:00
A Class to convert from Slack exportet direct messages for mattermost.
2019-07-09 09:03:50 +02:00
# TODO
Replies are not yet being correctly inserted as replies, but as normal chat messages.
2019-07-09 09:04:51 +02:00
# Usage
2019-07-08 18:11:32 +02:00
```bash
2019-07-09 09:03:50 +02:00
ruby slack-converter.rb > messages.json
2019-07-08 18:11:32 +02:00
```
2019-07-08 18:08:33 +02:00
on your mattermost server:
2019-07-08 18:11:32 +02:00
```bash
2019-07-09 09:03:50 +02:00
bin/mattermost import bulk --validate messages.json
2019-07-08 18:11:32 +02:00
```
2019-07-08 18:08:33 +02:00
when there where no errors:
2019-07-08 18:11:32 +02:00
```bash
2019-07-09 09:03:50 +02:00
bin/mattermost import bulk --apply messages.json
2019-07-08 18:11:32 +02:00
```