Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
flozza
9 months agoNew Contributor
Search for CLI
Hi! I'd like to request a feature: For the 1Password CLI (`op`) to support searching, just like the GUI client does. My use case: I have about 30 or so entries that I would like to add a tag to. Al...
mcky
1 month agoNew Contributor
Too late for the op but maybe this is useful for someone else
If you have fzf installed, this one liner will search and then print the content
op item get (op item list | fzf --header-lines=1 | awk '{print $1}')
thecatfix
1 month agoDedicated Contributor
op item get $(op item list | fzf --header-lines=1 | awk '{print $1}')This is AWESOME
- thecatfix1 month agoDedicated Contributor
op item get $(op item list --format json | jq -r '.[] | "\(.id) \(.title) [\(.vault.name)]"' | fzf | awk '{print $1}')For a cleaner selection interface that includes the Vault name and avoids parsing whitespace columns, use jq to format the entry before passing it to fzf.