SyncTk/.vscode/tasks/linux/cleanup.sh

4 lines
190 B
Bash
Raw Normal View History

2023-01-27 16:53:55 +02:00
#!/bin/bash
2023-01-27 17:35:19 +02:00
python3 -Bc "import pathlib; [p.unlink() for p in pathlib.Path('.').rglob('*.py[co]')]"
python3 -Bc "import pathlib; [p.rmdir() for p in pathlib.Path('.').rglob('__pycache__')]"