Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
austin
5 years agoFrequent Contributor
Setting a multi-line `notesPlain` value on an edited item
This is sort of two requests in one. I’m currently using op 1.10.3.
When I edit a document ( op edit document UUID FILE --filename TARGETFILE --title TARGETFILE --account ACCOUNT ) any existing ...
Former Member
5 years agoHey again austin,
To parrot @Michael_1P 's sentiment, thanks for the feedback! Regarding specifying --title on edit commands, I do not think that is currently necessary, but as for the --filename it looks like it needs to be specified, otherwise it will get overwritten to the default file name on every edit. I can understand that it could be a frustrating user experience, so I've updated our internal issue for improving the op edit document commands without --filename to retain any previously specified file name.
Regarding editing the notesPlain field, are you currently using a command like op edit item <docItemUUID> notesPlain='my notes\nwith newlines\n' to accomplish this?
I have been testing such commands and noticed that for me, instead of only printing the last line, it will just render the newline chars as string literals.
This is definitely something that we will investigate. Thanks for your clarification.