#!/bin/bash for file in changes/*/*.sql; do echo "Importing $file" mysql -u root < $file done