Skip to content

Instantly share code, notes, and snippets.

@r0x0d
Created November 23, 2021 11:15
Show Gist options
  • Save r0x0d/5ee1d98ca8b7ec1b03956e5cf1667d72 to your computer and use it in GitHub Desktop.
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.
#!/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