WORKDIR
This commit is contained in:
@ -218,11 +218,6 @@ download_and_save_link() {
|
|||||||
|
|
||||||
log "Finalizing -> $final"
|
log "Finalizing -> $final"
|
||||||
mv -f "$tmp" "$final"
|
mv -f "$tmp" "$final"
|
||||||
}.mp4"
|
|
||||||
log "Downloading $url -> $outpath"
|
|
||||||
(( NOOP )) && { log "(dry-run) Skipping download"; return 0; }
|
|
||||||
curl "${CURL_OPTS[@]}" -o "$outpath.part" "$url" || { rm -f "$outpath.part"; return 1; }
|
|
||||||
mv -f "$outpath.part" "$outpath"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_post() {
|
do_post() {
|
||||||
|
|||||||
Reference in New Issue
Block a user