Fetching contributors…
Cannot retrieve contributors at this time
5 lines (3 sloc) 161 Bytes
#!/bin/sh
mongo localhost:27017/source --quiet --eval "printjson(db.dropDatabase())"
mongo localhost:27017/target --quiet --eval "printjson(db.dropDatabase())"