forked from varia/varia.website
Luke Murphy
4 years ago
1 changed files with 10 additions and 0 deletions
@ -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…
Reference in new issue