Created
February 16, 2024 11:42
-
-
Save gwpl/e2d28e7c48140c8635c56fc567777251 to your computer and use it in GitHub Desktop.
make_dump_of_sources_with_paths.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias find_sources='find . -type f \( -name '\''*.md'\'' -o -name '\''*.toml'\'' -o -name '\''*.txt'\'' -o -name '\''*.py'\'' -o -name '\''*.rs'\'' -o -name '\''*.go'\'' -o -name '\''*.sol'\'' -o -name '\''*.css'\'' -o -name '\''*.js'\'' -o -name '\''*.yaml'\'' -o -name '\''*.json'\'' -o -name '\''*.c'\'' -o -name '\''*.cpp'\'' -o -name '\''*.cc'\'' -o -name '\''Makefile'\'' -o -name '\''*.sh'\'' \)' | |
head -n -0 `find_sources` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment