download.sh 287 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. URSL="http://intrepid.danplanet.com/pipermail/chirp_users"
  3. LISTURSL="$(curl -k $URSL/index.html | \grep -i 'gz' | cut -d'<' -f3 | cut -d'"' -f2)"
  4. LIST=$LISTURSL
  5. echo $LIST
  6. for i in $LIST; do
  7. if [[ ! -e $i ]]; then
  8. echo "$i";
  9. wget $URSL/$i $i
  10. fi
  11. done