使用 wget 下載單一檔案
現在來實作看看幾個讓 wget 深受歡迎的選項旗標,強化你下載檔案的技巧。
本練習屬於課程
在 Shell 中進行資料處理
練習說明
- 填入用於續傳部分下載的選項旗標。
- 填入用於在背景執行下載的選項旗標。
- 預覽下載紀錄檔。
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Fill in the two option flags
wget ___ ___ https://assets.datacamp.com/production/repositories/4180/datasets/eb1d6a36fa3039e4e00064797e1a1600d267b135/201812SpotifyData.zip
# Verify that the Spotify file has been downloaded
ls
# Preview the log file
cat ___