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
2023-04-30 21:50:11 +02:00

7 lines
306 B
Bash
Executable file

#!/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