8 lines
170 B
Bash
8 lines
170 B
Bash
#!/bin/bash
|
|
|
|
mkdir restore
|
|
echo "directory of the encrypted tar files"
|
|
read dir
|
|
|
|
cat $dir/backup.tar.gz.enc.* | openssl enc -d --aes256 --in - | tar -xvzpf - -C restore/
|