download_tle_find_new.sh   download_tle_find_new.sh 
#!/bin/bash #!/bin/bash
# This script downloads lists of satellite TLE sets from celestrak.com # This script downloads lists of satellite TLE sets from celestrak.com
# and generates a list of those that don't exist in the satellites.json fil e. # and generates a list of those that don't exist in the satellites.json fil e.
# Note that the "add_new_from_tle_file.pl" script assumes that satellites.j son # Note that the "add_new_from_tle_file.pl" script assumes that satellites.j son
# is in the current working directory. # is in the current working directory.
# The output (new.json) needs to be appended manually to satellites.json # The output (new.json) needs to be appended manually to satellites.json
# The other part of keeping satellites.json up to date - removing satellite s # The other part of keeping satellites.json up to date - removing satellite s
# that no longer exist in the lists - you will have to do manually, too. # that no longer exist in the lists - you will have to do manually, too.
# TRANSLATION WARNING: Group names are translatable. The strings are marked
for
# translation in Satellites::translations(), so if you change a group name
here,
# you need to also change it in that function.
rm -f new.json rm -f new.json
GET "http://celestrak.com/NORAD/elements/goes.txt" | ./add_new_from_tle_ file.pl scientific >> new.json GET "http://celestrak.com/NORAD/elements/goes.txt" | ./add_new_from_tle_ file.pl scientific >> new.json
GET "http://celestrak.com/NORAD/elements/galileo.txt" | ./add_new_from_tle_ file.pl experimental navigation >> new.json GET "http://celestrak.com/NORAD/elements/galileo.txt" | ./add_new_from_tle_ file.pl navigation >> new.json
GET "http://celestrak.com/NORAD/elements/noaa.txt" | ./add_new_from_tle_ file.pl scientific weather non-operational >> new.json GET "http://celestrak.com/NORAD/elements/noaa.txt" | ./add_new_from_tle_ file.pl scientific weather non-operational >> new.json
GET "http://celestrak.com/NORAD/elements/gps-ops.txt" | ./add_new_from_tle_ file.pl gps navigation >> new.json GET "http://celestrak.com/NORAD/elements/gps-ops.txt" | ./add_new_from_tle_ file.pl gps navigation >> new.json
GET "http://celestrak.com/NORAD/elements/amateur.txt" | ./add_new_from_tle_ file.pl amateur >> new.json GET "http://celestrak.com/NORAD/elements/amateur.txt" | ./add_new_from_tle_ file.pl amateur >> new.json
GET "http://celestrak.com/NORAD/elements/iridium.txt" | ./add_new_from_tle_ file.pl iridium communications >> new.json GET "http://celestrak.com/NORAD/elements/iridium.txt" | ./add_new_from_tle_ file.pl iridium communications >> new.json
GET "http://celestrak.com/NORAD/elements/visual.txt" | ./add_new_from_tle_ file.pl visual >> new.json GET "http://celestrak.com/NORAD/elements/visual.txt" | ./add_new_from_tle_ file.pl visual >> new.json
GET "http://celestrak.com/NORAD/elements/geo.txt" | ./add_new_from_tle_ file.pl geostationary >> new.json GET "http://celestrak.com/NORAD/elements/geo.txt" | ./add_new_from_tle_ file.pl geostationary >> new.json
echo "Now splice new.json into the old satellites.json file!" echo "Now splice new.json into the old satellites.json file!"
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/