run curl in silent mode
authorvarac <varacanero@zeromail.org>
Thu, 13 Mar 2014 20:26:36 +0000 (21:26 +0100)
committervarac <varacanero@zeromail.org>
Thu, 13 Mar 2014 20:26:36 +0000 (21:26 +0100)
bigcouch_compact_all_shards.sh

index 8fffee1..82aa3c2 100755 (executable)
@@ -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