SyncTk/.vscode/tasks/linux/cleanup.sh
2023-01-27 15:53:55 +01:00

4 lines
188 B
Bash

#!/bin/bash
python -Bc "import pathlib; [p.unlink() for p in pathlib.Path('.').rglob('*.py[co]')]"
python -Bc "import pathlib; [p.rmdir() for p in pathlib.Path('.').rglob('__pycache__')]"