7 lines
306 B
Bash
Executable file
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
|