Last active
May 25, 2022 19:29
-
-
Save knugie/5366830 to your computer and use it in GitHub Desktop.
print all files
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
# Print each file in the current directory, including subdirectories with | |
# the full relative filename and its content, separated by 2 empty lines | |
# e.g.: | |
# ##### ./jasmine-coverage-javascript-coffeescript/Rakefile ##### | |
# env = ENV['RACK_ENV'] || ENV['RAILS_ENV'] || 'development' | |
# if env =~ /^(development|test)$/ | |
# import 'lib/tasks/jasmine_coverage.rake' | |
# end | |
# | |
# | |
# ##### ./jasmine-coverage-javascript-coffeescript/README.md ##### | |
# /!\\ This project is still in its Beta-phase. It works for a whole bunch of happy users, but may not | |
# work for you. Please, kindly report any bugs. | |
find . -type f | grep -v '/\.' | while read filename; do echo "##### ${filename} #####"; cat $filename ; echo -e "\n\n"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment