Last active
July 31, 2018 21:54
-
-
Save phi-line/74c7795e88c4f0c959a827a80e1bbb03 to your computer and use it in GitHub Desktop.
The most annoying command to find on the internet (find pattern and delete file)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| `find cache -type f -exec grep -q "\<HTML\>" {} \; -delete` | |
| // https://superuser.com/questions/585391/on-linux-how-can-i-find-all-files-that-contain-a-string-and-delete-them |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment