copy folder to remote server

Mad Unix madunix at gmail.com
Mon Jul 21 14:07:50 UTC 2008


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 at 1.2.3.4 "cat >
/var/www/html/htdocs.tar.gz"

Thanks
-- 
Your search - madunix - did not match any documents.



More information about the redhat-list mailing list