0

I need a script that will create a tar file then can transfer and extract the file to another linux machine. I am new in shell scripts that's why Im needing assistance on this.

Checked other posts here that is similar with my inquiry.

  • I found this commands on the net, but when I try to use an identity file, it just creates the tar file as a common file on the destination. tar zcvf - /wwwdata | ssh -i /path/key/ vivek@192.168.1.201 "cat > /backup/wwwdata.tar.gz" – Jerome Teano Mar 24 '23 at 03:05

0 Answers0