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