LoginSignup
3
3

More than 3 years have passed since last update.

LastPass CSV Exportの注意点 (Form Fields, Attachmentは出力されない)

Posted at

LastPass CSVエクスポートの注意点

LastPassでCSVエクスポートすると、Form FieldsやAttachment(添付ファイル)はExportされません。

Form FieldsやAttachmentの取り出し

lastpass-cliを利用すると、Form Fieldsの取り出しや、Attachmentが含まれたアイテムの確認ができます。
https://github.com/lastpass/lastpass-cli

lastpass-cliのインストール

lastpass-cliでの操作

# lastpassへのログイン
lpass login USERNAME(email address)

# Item一覧の出力(アイテム名と、アイテムのUNIQUEIDが表示されます。)
lpass ls

# アイテム毎の出力
lpass show アイテムのUNIQUEID

Form Fieldの場合

下記実行例のように、custom_field01: test-valueという形で表示されます。

$ lpass show  1234567890
Sample-item [id: 1234567890]
Username: sample@gmail.com
URL: https://mail.google.com/mail/u/0/?hl=ja#inbox
custom_field01: test-value

Attachmentの場合

下記実行例のように、att-で始まる行が出力されます。

$ lpass show  9876543210
test [id: 9876543210]
URL: http://sn
att-9876543210-12345: sample-attachment.png
Notes: SampleNotes

この方法では、有無の確認までで、出力はWebから行うか、下記のようなツールの利用を検討してください。(私は、lastpass-attachment-exporterためしていません。)
https://github.com/mindrunner/lastpass-attachment-exporter

その他

  • アイテムにマスターパスワードの再入力を有効にしている場合、lpass show ****でも入力を求められます。一括して外す方法は未確認です。私の場合、たくさんなかったので、lpass showでマスターパスワードが求められたら、都度Webから再入力を解除しました。
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3