Skip to content

Commit 458c19f

Browse files
committed
Added remove shellscript
1 parent e542651 commit 458c19f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

remove_results.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
ns=$1
3+
if [ ! -z $ns ]; then
4+
echo "use $ns
5+
db.dropDatabase()
6+
use ${ns}_fs
7+
db.dropDatabase()
8+
" | mongo
9+
else
10+
echo "Needs a namespace as argument!!"
11+
fi

0 commit comments

Comments
 (0)