wget http://xxxx:xx/a.png
# wget -P 目标目录 资源连接 # 注意P是大写,目标目录不存在会自动创建 wget -P /root/xxx http://xxxx:xx/a.png
# wget -O 目标文件名 资源连接 # 注意O是大写,如果目标目录不存在,下载失败,提示No such file or directory wget -O /root/xxx/b.png http://xxxx:xx/a.png