annotate bin/ep.sh @ 2:f9d4af74e3d0

convert firefox bookmarks file to xml, e.g. for making a new ~/u/New_Tabs.py
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Tue, 18 Aug 2026 15:38:14 +0100
parents 2aa53823fb21
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2aa53823fb21 new repo
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1 #!/usr/bin/bash
2aa53823fb21 new repo
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
2 # Export passport encrypted w/o recipient
2aa53823fb21 new repo
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
3 #echo "|$WVAL|"
2aa53823fb21 new repo
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
4 echo ready GPG_TTY=$GPG_TTY
2aa53823fb21 new repo
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
5 gpg -u ht --batch --pinentry-mode loopback --passphrase "$WVAL" --decrypt ~/info/passwords | sponge | gpg --pinentry-mode loopback --passphrase "$WVAL" --output ~/info/passwords_$(date +%Y-%m-%d).gpg --symmetric
2aa53823fb21 new repo
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
6 echo done 1
2aa53823fb21 new repo
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
7 gpg -u ht --batch --pinentry-mode loopback --passphrase "$WVAL" --decrypt ~/info/password_intro.txt | sponge | gpg --pinentry-mode loopback --passphrase "$WVAL" --output ~/info/password_intro_$(date +%Y-%m-%d).txt.gpg --symmetric
2aa53823fb21 new repo
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
8 echo done 2
2aa53823fb21 new repo
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
9