Skip to content

Instantly share code, notes, and snippets.

@ryanhs
Last active November 22, 2017 00:30
Show Gist options
  • Save ryanhs/0eca6d520b4040d6b61a to your computer and use it in GitHub Desktop.
Save ryanhs/0eca6d520b4040d6b61a to your computer and use it in GitHub Desktop.
find all in file, test
find . -name '*.php' -print0 | xargs -0 -I file grep -inH "expiration_date =" file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment