s/download_video: add -c option to wget when download the video

It's useful if the connection drops during a download of the video
file and instead of staring the download from scratch it can
continue the previous one.

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
This commit is contained in:
Jun Zhao
2019-08-04 10:57:23 +08:00
parent a961484392
commit cfb4b7e366

View File

@@ -1,3 +1,3 @@
#!/bin/bash
wget -O v/bunny_1080p_60fps.mp4 http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_60fps_normal.mp4
wget -O v/bunny_1080p_30fps.mp4 http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4
wget -c -O v/bunny_1080p_60fps.mp4 http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_60fps_normal.mp4
wget -c -O v/bunny_1080p_30fps.mp4 http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4