Skip to content

Commit

Permalink
Update update-tles
Browse files Browse the repository at this point in the history
-N saves bandwidth and server load, only downloads when there is a new TLE available
--progress=dot:binary makes output more script friendly
  • Loading branch information
nousian authored Jan 4, 2020
1 parent ef8cc95 commit 214fa76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update-tles
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 214fa76

Please sign in to comment.