24092024-1

This commit is contained in:
fz0x1 2024-09-24 19:53:09 +02:00
parent beda89a241
commit 91ff389a40
3 changed files with 8 additions and 2 deletions

7
global/scripts/bin/backup_keys Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env sh
backup_dir="$HOME/backup-keys-$(date +%d%m%Y%H%M%S)"
mkdir "$backup_dir"
cp -rf ~/.gnupg "$backup_dir/gnupg"
cp -rf ~/.ssh "$backup_dir/ssh"