download.sh~ 306 B

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