How to export a GPG private key to a file code example
Example: How to export a GPG private key to a file
gpg --output private.pgp --armor --export-secret-key username@email
gpg --output private.pgp --armor --export-secret-key username@email