Skip to content

Instantly share code, notes, and snippets.

@suceda
Last active March 16, 2018 10:29
Show Gist options
  • Select an option

  • Save suceda/197b5826d884905be24fc02ea926751d to your computer and use it in GitHub Desktop.

Select an option

Save suceda/197b5826d884905be24fc02ea926751d to your computer and use it in GitHub Desktop.
Find commands
# Search all files that content the string and had been modified today
find */. -daystart -mtime 0 -type f -exec grep -l "STRING YOU WANT TO FIND" {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment