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