Copy different line (feature proposal)

Olli olli at coderkun.de
Fri Jul 21 13:07:30 CEST 2017


On 21.07.17 10:30, Utente Utopico wrote:
> Hi, I'm using `pass` from two years and I find a lacking feature: the
> ability to copy a different line of the password's file.
> 
> If you run this command, `pass -c foo/bar`, it copies only the first
> line of the file, where there is placed the password. But sometimes I
> add the nickname in the second line, and if I can't remember the it I
> must see the entire file `pass foo/bar`. It would be useful to specify
> what line to copy, as a optional argument (the default is the first
> line), like this example: `pass -c 2 foo/bar` (it copies the second line
> of foo/bar password's file).

There is the extension “pass-extension-tail” which might do what you are
looking for: https://github.com/palortoff/pass-extension-tail

Regards,
Olli


More information about the Password-Store mailing list