First backup script

main
Marlon Silva 2 years ago
parent 75ad63673b
commit 0c89fb8b2d
Signed by: msilva
GPG Key ID: D9F0FBD9CCF4D41C

@ -0,0 +1,6 @@
#!/bin/bash
#List all folders in a directory
for i in * ; do
tar -cvzf - "$i" | gpg --encrypt --sign -r cold-storage@marlonjsilva.com.br > "$i".tar.gpg;
done
Loading…
Cancel
Save