RE: copy folder to remote server



You could just use: scp -R /usr/local/apache/htdocs userid@xxxxxxx:/var/www/html/

Paul

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Mad Unix
Sent: Monday, July 21, 2008 10:08 AM
To: General Red Hat Linux discussion list
Subject: copy folder to remote server

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


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: copy folder to remote server
    ... copy folder to remote server ... I want to copy all the following files/folder/subfolders under ... Am I correct with this command, ...
    (RedHat)
  • copy folder to remote server
    ... I want to copy all the following files/folder/subfolders under ... Am I correct with this command, or far away offff ... Your search - madunix - did not match any documents. ...
    (RedHat)
  • Re: Installing TDK 4.0.4 trial with Tcl 8.5.1...
    ... Locate an ActiveTcl 8.4.9.1+ installation for use by the Tcl Dev Kit demos. ... Then the TDK installer continues with: ... remote server cannot handle this command ...
    (comp.lang.tcl)
  • Installing TDK 4.0.4 trial with Tcl 8.5.1...
    ... Locate an ActiveTcl 8.4.9.1+ installation for use by the Tcl Dev Kit demos. ... remote server cannot handle this command ...
    (comp.lang.tcl)
  • Re: Installing TDK 4.0.4 trial with Tcl 8.5.1...
    ... Locate an ActiveTcl 8.4.9.1+ installation for use by the Tcl Dev Kit demos. ... No bwidget package found in selected ActiveTcl ... remote server cannot handle this command ...
    (comp.lang.tcl)