Last active
February 23, 2025 08:13
-
-
Save hunterjsb/7ec8a366a150b3bfb95d861d2753eaad to your computer and use it in GitHub Desktop.
catters
This file contains hidden or 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
| # golang project to clipboard | |
| find . \( -path "*/.venv/*" -o -path "*/__pycache__/*" \) -prune -o -type f \( -name "*.go" -o -name "*.sh" -o -iname "readme*" \) -print0 | while IFS= read -r -d '' file; do printf '################################################################################\n# File: %s\n################################################################################\n\n' "$file"; cat "$file"; printf '\n\n'; done | xsel -ib | |
| # wails to clipboard | |
| find . -path "*/node_modules/*" -prune -o -type f \( -iname "*.go" -o -iname "*.js" -o -iname "*.ts" -o -iname "*.css" -o -iname "*.html" \) -print0 | while IFS= read -r -d '' file; do printf '################################################################################\n# File: %s\n################################################################################\n\n' "$file"; cat "$file"; printf '\n\n'; done | xsel -ib | |
| # :3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment