[ale] syntax scp or rcp
Dow Hurst
dhurst at kennesaw.edu
Thu Jul 3 14:49:12 EDT 2003
Thanks! That was just what I was after and it works with ssh and rsh.
I like to use ssh over the Internet but rsh within the VPN so as not to
compress twice.
Dow
Fletch wrote:
>>>>>>"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 )
>
>
>
>
>
>
--
__________________________________________________________
Dow Hurst Office: 770-499-3428
Systems Support Specialist Fax: 770-423-6744
1000 Chastain Rd. Bldg. 12
Chemistry Department SC428 Email: dhurst at kennesaw.edu
Kennesaw State University Dow.Hurst at mindspring.com
Kennesaw, GA 30144
*****************************************************************
This message (including any attachments) contains confidential *
information intended for a specific individual and purpose, *
and is protected by law. If you are not the intended recipient,*
you should delete this message and are hereby notified that *
any disclosure, copying, or distribution of this message, or *
the taking of any action based on it, is strictly prohibited. *
*****************************************************************
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list