18 lines
259 B
Bash
Executable File
18 lines
259 B
Bash
Executable File
#!/bin/sh
|
|
|
|
ARGS="$*"
|
|
|
|
args="--ttl 1y --cache-dir .cache"
|
|
|
|
while [ "$1" != "--" ]
|
|
do
|
|
args="$args $1"
|
|
shift
|
|
done
|
|
|
|
before="$(date +"%s.%N")"
|
|
bkt $args "$@" 2>&1
|
|
after="$(date +"%s.%N")"
|
|
|
|
printf "%s: %.2fs\n\n" "$ARGS" "$(echo "$after - $before"|bc)" >&2
|