This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
###################### USAGE ###################################### | |
usage() { | |
echo " | |
Usage: mongotos3 [-t n] mongo_host mongo_collection s3_bucket | |
-t : number of parallel processes to use | |
mongo_host : the host of the mongodb server | |
mongo_collection : the collection to collecthe gridfs data from | |
s3_bucket : the name of the bucket you want to cp the files to | |
" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
counter=0 | |
for tag in `git for-each-ref --sort=taggerdate --format='%(refname:short)' refs/tags` | |
do | |
echo $tag | |
git checkout $tag | |
code_line_count=`grep -vR '^\s*$\|^\s*#.*$' ./app/**/* | wc -l` | |
test_line_count=`grep -vR '^\s*$\|^\s*#.*$' ./features/**/* | wc -l` |