Merge pull request #180 from lucamarche-iz1mlt/master
Change URL database DMR ID
This commit is contained in:
commit
4e2b05f9f5
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
echo Downloading DMR-IDs from RadioID database
|
||||
curl 'https://www.radioid.net/static/users.csv' 2>/dev/null | sed -e 's/\t//g' | awk -F"," '/,/{gsub(/ /, "", $2); printf "%s;%s;%s\n", $1, $2, $3}' | sed -e 's/\(.\) .*/\1/g' > dmrids.dat
|
||||
curl 'https://www.ham-digital.org/status/users.csv' 2>/dev/null | sed -e 's/\t//g' | awk -F"," '/,/{gsub(/ /, "", $2); printf "%s;%s;%s\n", $1, $2, $3}' | sed -e 's/\(.\) .*/\1/g' > dmrids.dat
|
||||
|
||||
echo Removing IDs from local database
|
||||
echo -e 'delete from callsign where 1;' | sqlite3 callsigns.db
|
||||
|
|
Loading…
Reference in a new issue