n/oldblog
Archived
1
0
Fork 0
This repository has been archived on 2024-02-13. You can view files and clone it, but cannot push or open issues or pull requests.
oldblog/scripts/dazibaweb/curl_wrapper

8 lines
306 B
Text
Raw Permalink Normal View History

2023-04-30 21:28:42 +02:00
#!/bin/sh
repdest="/home/www/website/backends"
retstring="downloaded %{url_effective} in %{time_total}s (code: %{http_code})\n"
#/usr/local/bin/curl -s -o $repdest/$1 -z $repdest/$1 $2 -m 10 -w "downloaded %{url_effective} to $1 in %{time_total}s (code: %{http_code})\n"
/usr/bin/fetch -o $repdest/$1 $2