Skip to main content
April 22, 2022
Question

CLI is extremely slow

  • April 22, 2022
  • 1 reply
  • 128 views

I'm running the PowerShell command below to update the tags on my login item. It takes about 2-4 seconds for each item to be updated. In other words, it takes over 5 minutes to update 100 items. This is not satisfying.

$i | ? Tags -Match "oldtag" | % { op item edit $_.id --tags "newtag" --cache }


1Password Version: 2.0.2
Extension Version: Not Provided
OS Version: Windows 11

1 reply

April 25, 2022

Hey @Daniel1 ,

Thank you for reporting this, we have had quite a few reports of poor performance on retrieving items, but this is a first seeing performance issues from a batch editing perspective. That is certainly a cool script!

I just wanted to let you know three things:

  1. We are investigating the performance issues, this is important to us.
  2. Unfortunately the --cache flag is not functional on Windows clients (we have an internal issue on how we can add a secure cache for Windows users), so it will not speed up your commands.
  3. For the time being, please try using the --vault flag to specify the vault whenever possible, it will greatly speed up item lookups, which I suspect is taking the most amount of time in your batch edit command.