[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ale] syntax scp or rcp
- To: ale@ale.org
- Subject: Re: [ale] syntax scp or rcp
- From: Fletch <fletch@phydeaux.org>
- Date: 03 Jul 2003 14:10:06 -0400
- In-Reply-To: <3F046F69.6060003@kennesaw.edu>
- List-Archive: <http://www.ale.org/pipermail/ale/>
- List-Help: <mailto:ale-request@ale.org?subject=help>
- List-Id: Atlanta Linux Enthusiasts <ale.ale.org>
- List-Post: <mailto:ale@ale.org>
- List-Subscribe: <http://www.ale.org/mailman/listinfo/ale>,<mailto:ale-request@ale.org?subject=subscribe>
- List-Unsubscribe: <http://www.ale.org/mailman/listinfo/ale>,<mailto:ale-request@ale.org?subject=unsubscribe>
- Organization: Very Little
- References: <3F046F69.6060003@kennesaw.edu>
- Reply-To: ale@ale.org
- Sender: ale-admin@ale.org
- User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)
>>>>> "Dow" == Dow Hurst <dhurst@kennesaw.edu> writes:
Dow> What is the right syntax in a tcsh for retrieving a remote
Dow> tar archive and piping it into a tar extract command? This
Dow> doesn't work:
Dow> rcp walker:/d2/rep/temp.tar | tar xf -
Both rcp and scp are going to want a local path to write to. You need
to use ssh and cat.
ssh walker cat /d2/rep/temp.tar | tar xf -
Or if you use zsh something like this:
tar ztvf <( scp hermes:tmp/src/rsync-2.5.6.tar.gz /dev/stdout )
--
Fletch | "If you find my answers frightening, __`'/|
fletch@phydeaux.org | Vincent, you should cease askin' \ o.O'
770 294-0820 (m) | scary questions." -- Jules =(___)=
| U
_______________________________________________
Ale mailing list
Ale@ale.org
http://www.ale.org/mailman/listinfo/ale