#!/bin/bash [[ -f src.a ]] && rm src.a find ./ -type f | grep -E '\.o$' | xargs -I'{}' rm '{}'