Files
hdhs/db/execute-sql-in-container.bash
T

23 lines
442 B
Bash
Executable File

#!/usr/bin/env bash
# Author: "hertz"
# Date: 20200310
# ####################
# DESC:
# A script to execute a SQL script inside of postgres docker container
# ####################
# args:
# 1 -- name of container running postgres to execute the script inside of
# 2 -- path to .SQL script to be execute inside of the postgres container
#if [[ $# -ne 1 ]]; then
# echo "Usage: $0 <param-1> <param-2> ..."
# exit
#fi
# script: