parent
907b1a3201
commit
7e12ad8ad6
|
@ -14,6 +14,7 @@
|
|||
|
||||
cd download || exit
|
||||
# Compile a list of ogg files (NOTE: THIS WILL BREAK AS ARCHIVE GROWS XXX)
|
||||
echo "Total audio files: `ls -1 */satnogs_*.ogg | wc -l`"
|
||||
for i in */satnogs_*.ogg
|
||||
do OBSID=`dirname $i`
|
||||
# Go into directories with audiofiles
|
||||
|
@ -23,7 +24,6 @@ for i in */satnogs_*.ogg
|
|||
XMLURL="https://archive.org/download/satnogs-observation-$OBSID/satnogs-observation-$OBSID""_files.xml"
|
||||
XMLFILE=`basename "$XMLURL"`
|
||||
[ ! -f "$XMLFILE" ] && \
|
||||
echo "downloading $XMLURL"
|
||||
curl \
|
||||
--location \
|
||||
--silent \
|
||||
|
|
Loading…
Reference in New Issue