#!/bin/bash for file in .git/hooks/pre-commit.d/*; do bash "${file}" "${1}" done