title: How to run all postgres sql scripts from same folder using shell script
body: <p>How do i write a shell script that runs postgres sql scripts stored in one folder sequentially.Example</p>
  
  <p>1)dump.sql,</p>
  
  <p>2)store.sql,</p>
  
  <p>3)merge.sql,</p>
  
  <p>4)import.sql </p>
  
  <p>are to run sequentially in the same order and all the scripts are in the same folder. How do i write a shell script that performs the tasks sequentially.</p>