Ubuntu: Using curl to download an image

前端 未结 5 1709
隐瞒了意图╮
隐瞒了意图╮ 2021-01-31 01:17

I want to download an image accessible from this link: https://www.python.org/static/apple-touch-icon-144x144-precomposed.png into my local system. Now, I\'m aware

5条回答
  •  被撕碎了的回忆
    2021-01-31 02:18

    If you want to keep the original name — use uppercase -O

    curl -O https://www.python.org/static/apple-touch-icon-144x144-precomposed.png

    If you want to save remote file with a different name — use lowercase -o

    curl -o myPic.png https://www.python.org/static/apple-touch-icon-144x144-precomposed.png

提交回复
热议问题