Google
  Web www.spinics.net

copy folder to remote server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


I want to copy all the following files/folder/subfolders under
/usr/local/apache/htdocs to a remote server within this directory
/var/www/html/
Am I correct with this command, or far away offff

tar zcvf -  /usr/local/apache/htdocs | ssh root@xxxxxxx "cat >
/var/www/html/htdocs.tar.gz"

Thanks
-- 
Your search - madunix - did not match any documents.
-- 
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]

Add to Google Powered by Linux