[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] syntax scp or rcp
- Subject: [ale] syntax scp or rcp
- From: fletch at phydeaux.org (Fletch)
- Date: 03 Jul 2003 14:10:06 -0400
>>>>> "Dow" == Dow Hurst <dhurst at 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 at phydeaux.org | Vincent, you should cease askin' \ o.O'
770 294-0820 (m) | scary questions." -- Jules =(___)=
| U
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale