gron
gron copied to clipboard
Enhancement: Add recursive option
I have a deeply nested directory of archived JSON responses that I would like to analyze (extract fields from each of the response files)
find -exec gron
would probably work, but the hierarchy holds important context so I'd want to have the file path included in the output.
I'm thinking something like grep -r
I needed the same thing, but rather than implement grep -r
, I did grep -H
, so find -exec gron -H
gets you the filename. See https://github.com/RossPatterson/gron (or https://github.com/tomnomnom/gron/pull/72)
@tomnomnom Can you review my pull request https://github.com/tomnomnom/gron/pull/72 for this feature?