PeerTube/scripts/clean_test.sh

6 lines
178 B
Bash
Raw Normal View History

2015-06-09 10:41:40 -05:00
#!/bin/bash
printf "use petube-test1;\ndb.dropDatabase();\nuse petube-test2;\ndb.dropDatabase();\nuse petube-test3;\ndb.dropDatabase();" | mongo
rm -rf ./test1 ./test2 ./test3