RE: copy folder to remote server | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
I think where you have : tar zcvf - /usr/local/apache/htdocs | ssh root@xxxxxxx "cat > /var/www/html/htdocs.tar.gz" would need to be : tar zcvf - /usr/local/apache/htdocs | ssh root@xxxxxxx "cd /tmp/test;tar -zxf -" (to end up with /tmp/test/usr/local/apache/htdocs/* copied over) Regards, Jerry Queirolo -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
[Home] [CentOS] [Kernel List] [Red Hat Install] [Centos] [PAM] [Fedora Users] [Red Hat Development] [Red Hat Enterprise Linux] [Red Hat 9] [Centos] [Big List of Linux Books] [Linux Admin] [Photo Sharing] [Hot Springs] [Gimp] [Asterisk PBX] [Yosemite News] [Red Hat Crash Utility]
![]() |
![]() |