Level up your business security with free, on-demand training and certification. Explore 1Password Academy today →
Forum Discussion
Anonymous
4 years ago[32] Set value from other variable / assignment
The simple use case is to copy one value somewhere else.
Let's say I have an Item as follow
MyItem
- oldSection
- a_var=value
For the basic "copy.paste" use case, I would ...
Anonymous
4 years agoHey @ebreton,
The "copy-paste" scenario you mention can be achieved in the following way:
shell
op item edit MyItem "newSection.my_var[Text]=$(op item get MyItem --field a_var)"
Does this work for you?