# find = use the find command to list each filename
# when using a * wildcard would give the "Argument list too long error"
# . = find files in the current directory
# -type f = only pass files (not directories) to the next process (grep)

# | xargs = pipe the list of files into xargs for formatting and then pass to the program
# named in the next argument

# grep -l SEARCH_TERM = pass the names of files (-l option) containing the SEARCH_TERM
# to the next process

# | xargs rm = pipe the file matches from grep into rm for deletion

# & = run in the background as this may take a while!

find . -type f | xargs grep -l SEARCH_TERM | xargs rm &