Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agoOP CLI - Unable to build a list of item categories
Hey everyone,
after updating the OP CLI to 2.7.0 and switching to a other docker image I'm getting after some successful op create login attempts the message:
Unable to build a list of item ...
andi_t_1P
1Password Team
4 years agoFor creating one item through piped input, like in your example, you could use op item template get LOGIN | op item create -. Alternatively you could save the output of the first command to a file and edit with the desired fields: op item template get LOGIN --out-file my1PasswordTemplate.json. After you have created multiple such files you can do something like find . -maxdepth 1 -name '*my1PasswordTemplate*' -exec awk 'FNR' {} + | op item create -. The first command searches all files with my1PasswordTemplate in their name and outputs their contents and then the pipe will pass these contents into the create command for creating multiple items.
Hope this helps a bit,
Andi