Skip to content

Instantly share code, notes, and snippets.

@gwpl
Created February 16, 2024 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gwpl/e2d28e7c48140c8635c56fc567777251 to your computer and use it in GitHub Desktop.
Save gwpl/e2d28e7c48140c8635c56fc567777251 to your computer and use it in GitHub Desktop.
make_dump_of_sources_with_paths.sh
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