Last active
October 25, 2025 15:36
-
-
Save mike2718/5629824a4f86967ac1b1de38193b1e38 to your computer and use it in GitHub Desktop.
自动更新卫星星历的批处理
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| cd /d "%~dp0" | |
| del /q tle.txt | |
| c:\cmdtool64\curl.exe -f# "https://amsat.org/tle/current/nasabare.txt" > tle.txt | |
| c:\cmdtool64\curl.exe -f# "https://celestrak.org/NORAD/elements/gp.php?GROUP=active&FORMAT=tle" >> tle.txt | |
| c:\cmdtool64\curl.exe -f# "https://celestrak.org/NORAD/elements/gp.php?GROUP=amateur&FORMAT=tle" >> tle.txt | |
| c:\cmdtool64\curl.exe -f# "https://celestrak.org/NORAD/elements/gp.php?GROUP=cubesat&FORMAT=tle" >> tle.txt | |
| rem c:\cmdtool64\curl.exe -f# "https://celestrak.org/NORAD/elements/gp.php?GROUP=education&FORMAT=tle" >> tle.txt | |
| rem c:\cmdtool64\curl.exe -f# "https://celestrak.org/NORAD/elements/gp.php?GROUP=engineering&FORMAT=tle" >> tle.txt | |
| rem c:\cmdtool64\curl.exe -f# "https://celestrak.org/NORAD/elements/gp.php?GROUP=geo&FORMAT=tle" >> tle.txt | |
| c:\cmdtool64\curl.exe -f# "https://celestrak.org/NORAD/elements/gp.php?GROUP=last-30-days&FORMAT=tle" >> tle.txt | |
| c:\cmdtool64\curl.exe -f# "https://r4uab.ru/satonline.txt" >> tle.txt | |
| rem c:\cmdtool64\curl.exe -f# "https://celestrak.org/NORAD/elements/gp.php?GROUP=resource&FORMAT=tle" >> tle.txt | |
| rem c:\cmdtool64\curl.exe -f# "https://celestrak.org/NORAD/elements/gp.php?GROUP=satnogs&FORMAT=tle" >> tle.txt | |
| rem c:\cmdtool64\curl.exe -f# "https://celestrak.org/NORAD/elements/gp.php?GROUP=science&FORMAT=tle" >> tle.txt | |
| rem c:\cmdtool64\curl.exe -f# "https://celestrak.org/NORAD/elements/gp.php?GROUP=weather&FORMAT=tle" >> tle.txt | |
| rem c:\cmdtool64\curl.exe -f# "https://celestrak.org/NORAD/elements/gp.php?GROUP=x-comm&FORMAT=tle" >> tle.txt | |
| rem c:\cmdtool64\curl.exe -f# "https://db.satnogs.org/api/tle/?format=3le" >> tle.txt | |
| c:\cmdtool64\curl.exe -f# "https://api.tinygs.com/v1/tinygs_supported.txt" >> tle.txt | |
| c:\cmdtool64\curl.exe -f# "https://celestrak.org/NORAD/elements/gp.php?INTDES=1998-067" >> tle.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment