delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/29/13:45:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <40195452.2090003@tc.umn.edu>
Date: Thu, 29 Jan 2004 12:43:30 -0600
From: Elliott Wilcoxon <wilc0076 AT tc DOT umn DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031206 Thunderbird/0.4
MIME-Version: 1.0
CC: cygwin AT cygwin DOT com
Subject: Re: SCP doesn't complete transfers of large files
References: <40157ADA DOT 3030209 AT wilcoxon DOT org> <02f701c3e620$91662bc0$64fda287 AT FoxtrotTech0001>
In-Reply-To: <02f701c3e620$91662bc0$64fda287@FoxtrotTech0001>

Bill C. Riemers wrote:

> 
> ssh -T foo "tar cfz - somedirectoryorfile"|tar xvvfz -
> 

I'm not much of a unix expert, could you explain what that's doing?  I 
know a bit about tar, so I recognize the arguments to it, but I'm not 
sure how they're interacting.  It looks like it might run tar on the 
remote machine, and tar up all the desired files, the output of which is 
streamed over to a local copy of tar that un-tars them.  I'm not 
familiar at all with the -T option for ssh, and the man page entry isn't 
illuminating for one such as I.  Would an example command be:

remote machine abc has sshd running, and has file xyz that I want locally.
ssh -T abc "tar cfz - xyz"|tar xvvfz -


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019