Find all files with the extension .jpg in the current directory and its subdirectories, and delete the line containing the phrase "DELETE ME" in each file.
find -d . -type f -name '*.jpg' -exec sed -i '/DELETE ME/d' {} +