Skip to content

Instantly share code, notes, and snippets.

@marfenij
Created December 10, 2019 16:42
Show Gist options
  • Save marfenij/06a235f0ad84596cf428f88079f84fdf to your computer and use it in GitHub Desktop.
Save marfenij/06a235f0ad84596cf428f88079f84fdf to your computer and use it in GitHub Desktop.
jq -cr '.[] | "\(.name) \(.)"' test.json | awk '{ file=$1".json"; print $2 > file; close(file); }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment