Skip to content

Instantly share code, notes, and snippets.

@dkirkby
Created August 10, 2023 22:46
Show Gist options
  • Save dkirkby/93784591642402911fe9f16b9c8596ab to your computer and use it in GitHub Desktop.
Save dkirkby/93784591642402911fe9f16b9c8596ab to your computer and use it in GitHub Desktop.
search within jupyter notebooks
# exclude directories with specific names
find . -type d \( -name 'code' -o -name '.ipynb_checkpoints' \) -prune -o -name '*.ipynb' -type f -exec fgrep 'desietc' {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment