A simple wget commend can do this
#!/bin/bash if [ ! $1 ]; then uri='http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/' else uri=$1 fi wget -r -p -k -np $uri find -name index.html -exec rm {} \;
粤ICP备20004951号