Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
austin
4 years agoFrequent Contributor
Import output of `op list items --account ACCOUNT2 | op get item -` to a different account
Using 1Password command-line tool 1.12.4.
I’ve got temporary access to a vault in ACCOUNT2 so that I can copy the entries to ACCOUNT1 . They didn’t set up my account permissions to have right-c...
Former Member
3 years agoHey austin
With the release of V2, there's an upcoming feature where you can pipe in item JSON objs into the item create
command.
One such example that would fit your use case is:
op item list --account ACCOUNT1 | op item get --account ACCOUNT1 - | op item create - --account ACCOUNT2
What we had in mind for this feature was for ease of migrating items, and I am hoping it helps.
This feature is being actively developed, and will likely be included in v2.0.1, so please keep an eye out if it is of interest to you!