if [ x"$1" = x1 ]; then
for i in {1..46}; do
url_i="https://image.slidesharecdn.com/buildingpowerfulpredictivescorecards1991wp-140522174542-phpapp01/95/building-powerful-predictive-scorecards-${i}-1024.jpg?cb=1416306575"
curl -o $i.jpg $url_i
done
else
all=$(ls *.jpg|sort -n)
pdfjoin $all --outfile all.pdf
fi
第一部分根据 slideshare的链接找到对应图片。
第二部分合并.jpg