<div dir="ltr">Hi Alex,<div><br></div><div>I think you're looking for the --in-place / -i flag for pass generate.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">If --in-place or -i is specified, do not interactively prompt, and only replace the first line of the password file with the new generated password, keeping the remainder of the file intact.<br></blockquote></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p>Chris Bero<br></p></div></div></div>
<br><div class="gmail_quote">On Wed, Mar 29, 2017 at 11:22 AM, Alex Thorne <span dir="ltr"><<a href="mailto:lexiconifernelius@gmail.com" target="_blank">lexiconifernelius@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">As suggested in the docs, I add any extra info on additional lines separated from the top (password) line by a blank line.<div><br></div><div>If I run `pass generate` to replace an existing password, it replaces the whole file with the newly generated password. I think a more desirable behaviour would be that only the top line containing the password is replaced, and any additional information on subsequent lines is preserved.</div><div><br></div><div>Let me know what you think. I'm not familiar with the source code so have not submitted a patch but could potentially investigate this in the future.</div><div><br></div><div>Regards,</div><div>Alex</div></div>
<br>______________________________<wbr>_________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com">Password-Store@lists.zx2c4.com</a><br>
<a href="https://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">https://lists.zx2c4.com/<wbr>mailman/listinfo/password-<wbr>store</a><br>
<br></blockquote></div><br></div>