#!/bin/bash ############################################################################ USAGE="./rs-loader http://rapidshare.com/files/102348382134/somefile.ext " # ############################################################################ if [ $# -ne 1 ]; then echo "Usage: $USAGE" exit 1 fi #echo "Disconnecting Router..." # do whatever it takes here... #sleep 4 #echo "Connecting Router..." # do whatever it takes here... #sleep 4 #echo "Done." ############################################################################ # Of course, the part above this has to be changed to fit your router so I # # commented it out to make this script work everywhere. # ############################################################################ echo "Downloading $1..." wget $1 -O /tmp/rsloader GETTER="$(cat /tmp/rsloader | grep -i '