Browse Source

Add clean

master
Luke Murphy 4 years ago
parent
commit
1e942fed10
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 10
      clean

10
clean

@ -0,0 +1,10 @@
#!/usr/bin/env python3
import os
import os.path
import subprocess
paths = [p for p in os.listdir(".") if os.path.isdir(p) and "Makefile" in os.listdir(p)]
for path in paths:
subprocess.run("rm -rf /var/www/manymanymany-varia-websites/{}".format(path), shell=True)
Loading…
Cancel
Save