diff --git a/backup.sh b/backup.sh new file mode 100755 index 0000000..d62809b --- /dev/null +++ b/backup.sh @@ -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