Skip to content

Commit

Permalink
Added remove shellscript
Browse files Browse the repository at this point in the history
  • Loading branch information
pakozm committed May 3, 2014
1 parent e542651 commit 458c19f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions remove_results.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
ns=$1
if [ ! -z $ns ]; then
echo "use $ns
db.dropDatabase()
use ${ns}_fs
db.dropDatabase()
" | mongo
else
echo "Needs a namespace as argument!!"
fi

0 comments on commit 458c19f

Please sign in to comment.