Created
September 21, 2023 06:52
-
-
Save cboudereau/ba6d26ab693b0a16e631c03b38f589b8 to your computer and use it in GitHub Desktop.
Count uniq line in large json files under json folder recursively
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
#! /bin/bash | |
find ./json -type f -name '*.json' -exec cat {} + | sort | uniq -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment