Updated Filters (markdown)

Knugi
2024-09-20 15:59:33 +00:00
parent 54f0eee0b9
commit bb458407c3

@@ -19,19 +19,44 @@ For example, if you want to supply an ISO compliant date: `wtsexporter -a --date
### Between
This will export messages received or sent between 2023-01-01 00:00 to 2024-01-01 00:00, inclusively.
```
wtsexporter.exe -a --date "2023-01-01 00:00 - 2024-01-01 00:00"
wtsexporter -a --date "2023-01-01 00:00 - 2024-01-01 00:00"
```
### Before
This will only export messages received or sent before 2024-01-01 00:00.
```
wtsexporter.exe -a --date "< 2024-01-01 00:00"
wtsexporter -a --date "< 2024-01-01 00:00"
```
### After
This will only export messages received or sent after 2023-01-01 00:00.
```
wtsexporter.exe -a --date "> 2023-01-01 00:00"
wtsexporter -a --date "> 2023-01-01 00:00"
```
# Chat Filter
The exporter currently supports two chat filters, namely, include and exclude.
### Include
This will only export messages sent by the specified correspondent:
```
wtsexporter -a --include 85212345678
```
Multiple correspondents can also be included at once:
```
wtsexporter -a --include 85212345678 85298765432
```
### Exclude
This will export all messages except those sent by the specified correspondent:
```
wtsexporter -a --exclude 85212345678
```
Multiple correspondents can also be included at once:
```
wtsexporter -a --exclude 85212345678 85298765432
```
Note that the for both include and exclude chat filters, the country calling codes are optional.