Updated GUI, CLI and Formats explained (markdown)

Alexey Golub
2021-02-06 23:14:48 +02:00
parent 5c0f084b64
commit 5c79a27a02

@@ -228,15 +228,13 @@ DiscordChatExporter.Cli.exe export -t "mfa.Ifrn" -c 53555 -o "C:\Discord Exports
### Generating the filename and output directory dynamically ↴ ### Generating the filename and output directory dynamically ↴
You can use template tokens to generate the output file path based on the guild and channel metadata. You can use template tokens to generate the output file path based on the guild and channel metadata.
For example:
```powershell ```powershell
DiscordChatExporter.Cli.exe export -t "mfa.Ifrn" -c 53555 -o "C:\Discord Exports\%G\%T\%C.html" DiscordChatExporter.Cli.exe export -t "mfa.Ifrn" -c 53555 -o "C:\Discord Exports\%G\%T\%C.html"
``` ```
Assuming you are exporting a channel named `"My channel"` in a category `"Text channels"` from a guild called `"My guild"`, you will get the following output file path: `"C:\Discord Exports\My guild\Text channels\My channel.html"` Assuming you are exporting a channel named `"My channel"` in a category `"Text channels"` from a guild called `"My guild"`, you will get the following output file path: `"C:\Discord Exports\My guild\Text channels\My channel.html"`
Here is the full list of template tokens that get replaced with their corresponding values: Here is the full list of supported template tokens:
- `%g` - guild ID - `%g` - guild ID
- `%G` - guild name - `%G` - guild name
@@ -248,6 +246,7 @@ Here is the full list of template tokens that get replaced with their correspond
- `%P` - category position - `%P` - category position
- `%a` - the "after" date - `%a` - the "after" date
- `%b` - the "before" date - `%b` - the "before" date
- `%%` - escapes `%`
### Partitioning ↴ ### Partitioning ↴
You can use partitioning to split files after a given number of messages.<br> You can use partitioning to split files after a given number of messages.<br>