DiscordChatExporter/.docs/Linux.md

27 lines
979 B
Markdown
Raw Normal View History

# Linux usage instructions
2023-01-27 02:59:02 -05:00
## Installing .NET Runtime
2023-01-26 21:29:36 -05:00
2023-11-11 10:47:48 -05:00
Please follow the [instructions provided here](Dotnet.md).
2023-01-27 02:59:02 -05:00
## Downloading and using DiscordChatExporter.Cli
2023-01-26 21:29:36 -05:00
2023-01-27 02:59:02 -05:00
1. Download [DiscordChatExporter.CLI.zip](https://github.com/Tyrrrz/DiscordChatExporter/releases/latest) and extract it to a folder.
2. Open Terminal.
3. `cd` into the extracted folder. You can do this in Terminal by typing `cd`, then press the SPACE key, drag and drop the extracted folder into the Terminal window, and press the ENTER key.
4. Replace `TOKEN` and `CHANNEL`, then execute this command to export:
2023-01-26 21:29:36 -05:00
2023-09-29 07:53:52 -04:00
```console
dotnet DiscordChatExporter.Cli.dll export -t TOKEN -c CHANNEL
```
If the above command throws a "Permission denied" error, execute this command to fix the permissions:
```console
chmod 644 *.dll DiscordChatExporter.*
2023-10-24 07:32:29 -04:00
```
2023-11-11 10:47:48 -05:00
> [How to get Token and Channel IDs](Token-and-IDs.md).
2023-01-26 21:29:36 -05:00
2023-11-11 10:47:48 -05:00
There's much more you can do with DCE.CLI! Read the [CLI explained](Using-the-CLI.md) page to get started.