24092024-1
This commit is contained in:
parent
783098951b
commit
5031652728
3 changed files with 8 additions and 2 deletions
7
global/scripts/bin/backup_keys
Executable file
7
global/scripts/bin/backup_keys
Executable 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"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue