mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-07 06:18:03 +03:00
bash
This commit is contained in:
@@ -4,10 +4,12 @@
|
||||
# folder.
|
||||
# Useful for backporting updates, or something.
|
||||
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")" || exit
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
|
||||
if [ -z "$1" ] || [ -z "$2" ]; then
|
||||
echo "Usage: mongoexp.sh <collection> <dbname>";
|
||||
echo "Usage: mongoexp.sh <collection> <dbname>"
|
||||
exit
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user