Created
November 12, 2015 21:24
-
-
Save gene1wood/9d5066a4fb11056f4e48 to your computer and use it in GitHub Desktop.
Command to export all keys in a format that mailvelope can import
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for key in `gpg --list-keys | awk '$1 == "pub" {print $2}' | awk -F "/" '{print $2}'`; do | |
gpg --export -a ${key} >> output.txt | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment