#!/bin/bash files=$(find . -type f | grep -v '\.git' | grep '\.sh') for i in $files; do shellcheck -x "$i" done