Use case: show tree of directory with files content #2640
iainelder
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Today I found myself wanting to cat a whole tree of files with headers so that I could share quickly and visually a small test project setup.
Ask Ubuntu has had a Q&A for this use case since 2018.
Today I discovered that
bat
combined withfind
is the perfect tool for the job!Go over to Ask Ubuntu to see my solution and explanation.
It's pretty simple, and it may seem obvious to those familiar with
bat
, but I didn't seebat
suggested when I was searching for a solution.Maybe you could add this use case to the README.
Beta Was this translation helpful? Give feedback.
All reactions