Generated File: Do Not Edit Directly Edit the source files and rerun the generator.
Git Tips Slides
PageUp x2: previous · PageDown x2: next · Home: index

List all files in sibling repos

If you want to do the same across all sibling git repositories, use scripts/git-ls-files-all.sh:

./scripts/git-ls-files-all.sh '*.py' | xargs -r -d'\n' grep -n 'TODO'

This prints file names like ../some-repo/path/to/file.py, one per line, so xargs -d'\n' splits on newline only and does not break on spaces in file names.

Generated File: Do Not Edit Directly Edit the source files and rerun the generator.