You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

30 lines
681 B

4 years ago
# alltxt2csv
converts ALL.TXT to csv file which can then be nicely imported into mysql.
parameters:
```
Usage of ./alltxt2csv:
-in string
path to wsjt-x ALL.txt
-out string
path to csv outfile
-station string
your callsign or wsjtx instance identifier (default "localstation")
-trace
log every line... yes really ;)
```
## converting ALL.TXT to csv
## import of csv
```
alltxt2csv -in ~/.local/share/WSJT-X/ALL.TXT -out ~/dev/wsjtx_dashboards/import/DL3SD.csv -station DL3SD
```
* prepare IMPORT.SQL
```
mysql --local-infile=1 digimode_stats -e "SET GLOBAL local_infile=1;"
mysql --local-infile=1 digimode_stats -e "\. /wsjtx/import/DL3SD.SQL"
```