Update update-tles

-N saves bandwidth and server load, only downloads when there is a new TLE available
--progress=dot:binary makes output more script friendly
pull/70/head
nousian 2020-01-04 12:21:15 +02:00 committed by GitHub
parent ef8cc9538d
commit 214fa76dff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
for a in galileo gps-ops beidou glo-ops active
do
wget --backups=1 https://www.celestrak.com/NORAD/elements/$a.txt
wget -N --progress=dot:binary --backups=1 https://www.celestrak.com/NORAD/elements/$a.txt
done