Skip to content

Instantly share code, notes, and snippets.

@FreePhoenix888
Last active July 19, 2024 11:25
Show Gist options
  • Save FreePhoenix888/79012e52379416dfa2c77c84c43a37a6 to your computer and use it in GitHub Desktop.
Save FreePhoenix888/79012e52379416dfa2c77c84c43a37a6 to your computer and use it in GitHub Desktop.
Find and cat bash
find . -type f ! -path '*/.*' -exec sh -c 'printf "\n"; echo {}:; cat {}' \; > output.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment