#!/bin/bash cat recreate_BRANCH_HERE.txt | psql 'CONNECTIONPOSTGRESSTRING_HERE' cat BRANCHSQL_HERE.sql | psql 'CONNECTIONSTRING_HERE'