postgresql-citus-patroni-image/scripts/python-rm-cache.sh
2024-08-13 09:20:08 +03:00

8 lines
150 B
Bash
Executable File

#!/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