Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy just password #27

Closed
atroche opened this issue Oct 24, 2014 · 3 comments
Closed

Copy just password #27

atroche opened this issue Oct 24, 2014 · 3 comments

Comments

@atroche
Copy link

atroche commented Oct 24, 2014

I looked in the man page and the help text of lpass, but I couldn't find a way to only copy the password of a site.

I'm using this instead for now:

lpass show github.com|grep password|head -n 1|cut -d ' ' -f 2 | tr -d '\n' | xsel -ib

Is the functionality there and I'm just not looking hard enough? Or are you planning to add it?

Cheers!

@jdhore
Copy link
Contributor

jdhore commented Oct 24, 2014

lpass show -c --password github.com

@jdhore
Copy link
Contributor

jdhore commented Oct 24, 2014

It is somewhat documented in the manpage, but IMO, many of the CLI options are not documented well enough in the manpage (but I don't have the energy to rewrite it).

You can also pass --username, --url, --notes and even --field=fieldname for arbitrary fields (I'm guessing).

@atroche
Copy link
Author

atroche commented Oct 24, 2014

Thanks!

@atroche atroche closed this as completed Oct 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants