LastPass CLI backup to Google Drive

Written 3 years and 9 months ago

mkdir -p ~/GDrive/Backups/LastPass/`date +%Y/%m/%d` && \
  lpass export | \
  gpg -er omarchehab98@gmail.com > \
  ~/GDrive/Backups/LastPass/`date +%Y/%m/%d`/lpass-`date -u +%Y-%m-%dT%H:%M:%S`.gpg

Explained

Dependencies

Ideas