使用 curl 命令将文件保存到特定文件夹 - Save file to specific folder with curl command

问题:

In a shell script, I want to download a file from some URL and save it to a specific folder.在 shell 脚本中,我想从某个 URL 下载文件并将其保存到特定文件夹。 What is the specific CLI flag I should use to download files to a specific folder with the curl command, or how else do I get that result?我应该使用curl命令将文件下载到特定文件夹的特定 CLI 标志是什么,或者我如何获得该结果?


解决方案:

参考一: https://stackoom.com/question/16ebi
参考二: Save file to specific folder with curl command
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章