Open HARVS1789UK opened 5 years ago
Note: I have found some documentation for LastPass imports however, I don't believe that is relevant to lastpass-cli
(due to the lack of any reference to type
or hostname
in cmd-import.c
@HARVS1789UK did you ever figure this out?
@fedemengo I didn't i'm afraid, from memory I moved on to just importing a handful of sites via the Cli using lastpass add
and lastpass generate
however, I didn't take this much further as I also needed to create a new shared folder, share it with the relevant directors/HR staff for my company and move these sites into it and I had multiple issues with using the Cli for this as well unfortunately :'-(
I have just looked up this - https://support.logmeininc.com/lastpass - which I think is new documentation since I last looked.. It seems to confirm some of my assumptions about the import format, but sadly makes no mention of Cli usage, still just the desktop software or browser plugins
Let me know if you have any success!
Please correct me and direct me to the relevant resource if I am wrong, but I am not able to find any documentation stating the format which the .csv file used with
lpass import <FILENAME>
should follow?I have looked in the lpass man and in the README.md of this repo, but I can't find anything.
I have looked at cmd-import.c and performed a
lpass export
to determine what I think the relevant .csv headers are and I have attempted an import using the below:This partially worked, but note the following:
http://
(which I think is the default when no URL is provided)extra
is not very descriptive, but seems to relate to the Notes field (I initially thought it was to specify custom form fields, is this possible withimport
?)fav
is a boolean to determine if the site is added to favourites or not, but setting it to1
seems to have had no effect on my imported sites?Can some documentation be added to clarify how this import is intended to work?