使用 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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章