backup-script/restore.sh

7 lines
139 B
Bash
Raw Normal View History

2024-08-04 15:25:17 -04:00
#!/bin/bash
echo "directory of the slpit tar file"
read dir
cat $dir/backup.tar.gz.enc.* | openssl enc -d --aes256 --in - | tar -xvzpf -