1
0
angie-conv-image/scripts/python-rm-cache.sh

10 lines
194 B
Bash
Raw Permalink Normal View History

2024-09-17 14:11:00 +03:00
#!/bin/sh
set -f
for i ; do
2024-09-30 20:54:31 +03:00
[ -n "$i" ] || continue
[ -d "$i" ] || continue
find "$i/" -name __pycache__ -exec rm -rf {} +
find "$i/" ! -type d -name '*.py[co]' -exec rm -f {} +
2024-09-17 14:11:00 +03:00
done
exit 0