Created
November 23, 2021 11:15
-
-
Save r0x0d/5ee1d98ca8b7ec1b03956e5cf1667d72 to your computer and use it in GitHub Desktop.
An small script to get passwords from bitwarden cli. Yes, I'm lazy.
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
#!/bin/bash | |
QUERY="$1" | |
bw list items --search $QUERY | jq -r '.[].login.password' | xargs echo -n | xclip -sel clip | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment