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