Hacker symbol

September 8, 2019 ~ 1 min read

Backing up gpg keys


To backup the GPG directory with restrictive access

$ umask 077; tar -cf $HOME/gnupg-backup`date +"%Y_%m_%d%H_%M_%S"`.tar -C $HOME .gnupg

Sebastian BolaƱos

Hi, I'm Sebastian. I'm a software developer from Costa Rica. You can follow me on Twitter. I enjoy working on trustless systems.