From e9fc9ab613c84bd6a279957fc2004a2edbe73d82 Mon Sep 17 00:00:00 2001 From: Gregory Bartholomew Date: Jan 13 2022 01:24:31 +0000 Subject: Show status info and progress when downloading large files --- diff --git a/run.sh b/run.sh index c1e807e..08ab16a 100755 --- a/run.sh +++ b/run.sh @@ -20,14 +20,16 @@ fi if ! [[ -e opt ]]; then mkdir opt - curl -L -s --output-dir opt -o wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar + echo downloading opt/wp ... + curl -# -L --output-dir opt -o wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar chmod +x opt/wp fi if ! [[ -e srv ]]; then mkdir srv for plugin in $WPPLUGIN; do - curl -L -s --output-dir srv -O https://downloads.wordpress.org/plugin/$plugin.zip + echo downloading srv/$plugin.zip ... + curl -# -L --output-dir srv -O https://downloads.wordpress.org/plugin/$plugin.zip done fi