#!/bin/bash
string=$1
self="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")"
find . ! -name $self -exec grep -q $string '{}' \; -delete

Delete all files containing text passed as argument
Delete all files containing text passed as argument

Pretty self explanatory

Signed-off-by: CaddyDz <10056daf6aa7ff2904beb30151c29186590437d0@gmail.com>
