#!/bin/sh #Type some URLs in and download them later. which wget >/dev/null 2>&1 || exit echo 'Enter URLs and type ^D to end' echo '#!/bin/sh' > list echo 'for i in `cat <> list cat >> list echo 'EOF` ; do ' >> list which socksify >/dev/null 2>&1 && echo 'socksify wget -c $i || exit ;' >>list || echo 'wget -c $i || exit ;' >> list echo 'done' >> list echo 'rm $0' >> list chmod +x list echo 'Type ./list to download later'