#!/bin/sh set -f for i ; do find "$i/" -name __pycache__ -exec rm -rf {} + find "$i/" ! -type d -name '*.py[co]' -exec rm -f {} + done exit 0