Skip to content

Instantly share code, notes, and snippets.

@winnydejong
Created August 19, 2019 09:03
Show Gist options
  • Save winnydejong/d63917d1c5463b76696be0137eb4f4d4 to your computer and use it in GitHub Desktop.
Save winnydejong/d63917d1c5463b76696be0137eb4f4d4 to your computer and use it in GitHub Desktop.
Code to search multiple Jupyter Notebooks for a specific piece of code in the terminal
# Thanks Grant Nestor, https://groups.google.com/d/msg/jupyter/Qi9b7z_sgRU/9npQA1zlAgAJ
grep --include='*.ipynb' --exclude-dir='.ipynb_checkpoints' -rliw . -e 'search query'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment