mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
9 lines
233 B
Bash
Executable File
9 lines
233 B
Bash
Executable File
#!/bin/bash
|
|
|
|
read -p "This will remove certs, uploads, database (dev) and logs. Are you sure? " -n 1 -r
|
|
|
|
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
|
|
rm -rf ./certs ./logs ./uploads
|
|
printf "use peertube-dev;\ndb.dropDatabase();" | mongo
|
|
fi
|