- #!/bin/sh
- START_URL='https://www.google.com.hk/logos/2013/mom/hdcards/'
- for i in {1..3};
- do
- for j in {1..3};
- do
- for k in {1..3};
- do
- for l in {1..3};
- do
- echo "downloading ${START_URL}${i}${j}${k}${l}.jpg"
- wget ${START_URL}${i}${j}${k}${l}.jpg
- done;
- done;
- done;
- done;
- #该片段来自于http://www.codesnippet.cn/detail/200620134171.html
来源: http://www.codesnippet.cn/detail/200620134171.html