editing command output in vim

/ Published in: Bash
Save to your folder(s)

finds files with a specific string and loads em up in vim. Secret is backticks. vim happily deals with lists of files.

Copy this code and paste it in your HTML
  1. vim `find . -name \*.html -exec grep -l get_admin_url {} \;`

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.