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 - scp tricks
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: ssh tricks
Author: pierre-yves verdon 
Date:   08-03-03 11:00

i use quite the same trick but i finally gzip the transfered directory.
tar -zcvf - DIRECTORY/ | /usr/bin/ssh -l LOGIN HOST 'cat - > file.tgz'

it's also possible to use ssh with rsync:
rsync -rltgpvz --exclude=log/ -e ssh LOGIN@HOST:/remote_dir .

-pierre-yves

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

 Topics Author  Date
 ssh tricks   new
James Flemer 08-03-03 03:52 
 Re: ssh tricks   new
James Flemer 08-03-03 03:55 
 Re: ssh tricks   new
pierre-yves verdon 08-03-03 11:00 
 Re: ssh tricks   new
Andy Harrison 13-03-03 21:25 
 Re: ssh tricks   new
Ben 14-03-03 10:40 
 Re: ssh tricks   new
frank 24-03-04 23:30 
 Re: ssh tricks   new
Dan 24-03-04 23:53 


 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