Skip to content

Instantly share code, notes, and snippets.

@95gabor
Last active November 28, 2024 14:07
Show Gist options
  • Save 95gabor/b0bfc95ba957305ee744606ab98ca32a to your computer and use it in GitHub Desktop.
Save 95gabor/b0bfc95ba957305ee744606ab98ca32a to your computer and use it in GitHub Desktop.
cat bitwarden_export.json | jq '.items
| map(.login)
| map(select(.password != null))
| group_by(.password)
| map({
password: .[0].password,
count: length,
uris: map(.uris | select(.) | .[].uri) | unique
})
| sort_by(.count)
| reverse'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment