From a98988509db855d151d180f864191682caddf400 Mon Sep 17 00:00:00 2001 From: varac Date: Thu, 13 Mar 2014 21:26:36 +0100 Subject: run curl in silent mode --- bigcouch_compact_all_shards.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bigcouch_compact_all_shards.sh') diff --git a/bigcouch_compact_all_shards.sh b/bigcouch_compact_all_shards.sh index 8fffee1..82aa3c2 100755 --- a/bigcouch_compact_all_shards.sh +++ b/bigcouch_compact_all_shards.sh @@ -19,7 +19,7 @@ do shard=`echo $i | sed "s/^.*shards\///" | cut -d'/' -f 1` db=`basename $i .couch` echo -n "compacting ${i}:" - curl -X POST --netrc-file $NETRC -H "Content-Type: application/json" "http://127.0.0.1:5986/shards%2F${shard}%2F${db}/_compact" + curl -s -X POST --netrc-file $NETRC -H "Content-Type: application/json" "http://127.0.0.1:5986/shards%2F${shard}%2F${db}/_compact" sleep 1 done -- cgit v1.2.3