Last active 2 weeks ago

tre revised this gist 2 weeks ago. Go to revision

1 file changed, 1 insertion

deletematchinglines.sh(file created)

@@ -0,0 +1 @@
1 + grep -rli 'SEARCH_STRING' * | xargs -d '\n' sed -i '/SEARCH_STRING_WITH_SLASHES_ESCAPED/d'
Newer Older