Last active
November 28, 2024 14:07
-
-
Save 95gabor/b0bfc95ba957305ee744606ab98ca32a to your computer and use it in GitHub Desktop.
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
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