Last active
March 27, 2022 14:43
-
-
Save rririanto/c7c63fcc1fcfcf989279ff5b000e8c32 to your computer and use it in GitHub Desktop.
Using Jq on large json file (10GB), remove one key from json large file
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
jq -n --stream 'fromstream(inputs|select((length == 2 and .[0][1] == "_id")|not))' users_large.json > users.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment