#!/nix/store/izpf49b74i15pcr9708s3xdwyqs4jxwl-bash-5.2p32/bin/sh for i in */; do cd "$i" ./cmd.sh rm -f *.mod cd - > /dev/null done