Skip to content

Instantly share code, notes, and snippets.

@ayorgo
Created February 4, 2026 15:17
Show Gist options
  • Select an option

  • Save ayorgo/5ab5df0ec3c0b1a367b0e30b1073d247 to your computer and use it in GitHub Desktop.

Select an option

Save ayorgo/5ab5df0ec3c0b1a367b0e30b1073d247 to your computer and use it in GitHub Desktop.
Concatenate source code files recursively into a Markdown summary
for file in $(fd -g '*.py' my_python_project_dir); do echo -e '#' "$file"'\n```python\n' "$(cat $file)" '\n```\n'; done > context.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment