The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

Article Feedback - Anonymous FTP server
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 tar pipes over ssh
Author: Scott Lewis 
Date:   30-06-03 15:48

For a more efficient ssh recursive copy, use a tar pipe:


tar cf - dirname | ssh user@host 'cd /path/to/destination/root ; /usr/bin/tar -xf -'



Rather than sending each file individually, this lets you send one tar archive, and unpack on the other end.

Reply To This Message
 
 Re: tar pipes over ssh
Author: Scott Lewis 
Date:   30-06-03 16:36

I guess I should probably read all of the postings first. Sorry for the dupe.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org