h5资源部署自动化脚本参考

2017-03-20  本文已影响89人  蘇上方
#!/bin/bash
# Author : suxuemin

echo "enter file's url?"
read URL
curl -O $URL
#echo ${$URL##*/}
File=`echo $URL|awk -F/ '{print $NF}'`

unzip $File

mv -f resources/* .
rm -rf resources
上一篇 下一篇

猜你喜欢

热点阅读