Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: file transfer with zsh
- X-seq: zsh-users 15909
- From: Simon Mages <mages.simon@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: file transfer with zsh
- Date: Wed, 30 Mar 2011 18:31:51 +0200
- Cc: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Am8pGj/gOhaSoVR3w5aMExylwTjxIEbDE2QXgyhF0fc=; b=cVDHrjY3/n8i/WgPY9yRUtKj6vtvaJMCMpPDLQzob05y1/9gmOD52d5b7LLqvZLz/Z cx8buFXLeudGi0y9iI45PP9c0CWtylXcq4kcx/0xvS3TPExgU3XEgdOgmuECQ7kNzY76 BDqqWJwFtmMhgTmZcFcqGEtRS6gWysBCaQoJI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=TBdZaALRKg+7oCWB2xS9Ur5c9qvG8xVj3vEFlPF5nrKfA08L7kVZDAHfRCQ18m6f3p nujXYFs13/z69cx99AGoUfoWtf3a7Mj219yJP2gFm0foDkg2YDJagY/IvWwy89Dn76L4 RlaPZLxlwEX/By7v1Csc7xJ1LKHdTmISDGGV8=
- In-reply-to: <chaz20110330153609.GA6117@seebyte.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <AANLkTi=5d=ZECsWew8fVnUtiF-nMuP2zWzZ6umqPmrBy@mail.gmail.com> <chaz20110330153609.GA6117@seebyte.com>
2011/3/30 Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
> 2011-03-30 14:09:18 +0200, Simon Mages:
> > Hi,
> >
> > I have to transfer archives from many Solaris 10 Machines to one of them.
> I
> > can't use FTP, NFS or Netcat because they are not installed or blocked
> and
> > SCP (SFTP) is to slow.
> >
> > So i studied the man pages of zshtcpsys and zshmodules but with no
> success.
> > I found some Examples in the Internet but they only transfer text in
> > different ways.
> >
> > At the Moment i don't have access to the Machines but i think the
> installed
> > zsh version is 4.1.2 or 4.1.1.
> [...]
>
> To transfer directory "dir" from host hostA to host hostB:
>
> On host hostB, run
>
> (zmodload -i zsh/net/tcp &&
> ztcp -ld3 11111 &&
> ztcp -ad4 3 &&
> tar -zxpf - --numeric-owner <&4
> )
>
> Then on host hostA
>
> (zmodload -i zsh/net/tcp &&
> ztcp -d3 hostB 11111 &&
> tar cf - dir | gzip -1 >&3
> )
>
> --
> Stephane
>
Thanks, this is very helpful.
BR Simon
Messages sorted by:
Reverse Date,
Date,
Thread,
Author