Created
February 24, 2025 16:45
-
-
Save ehzawad/cc30ffe1d6ff388d3ffa8a9654a0d25e to your computer and use it in GitHub Desktop.
Merge All Python Files
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
find . -name "*.py" | while IFS= read -r file; do | |
echo "===== $file =====" >> merged.txt | |
cat "$file" >> merged.txt | |
echo -e "\n" >> merged.txt | |
done |
Author
ehzawad
commented
Mar 7, 2025
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment