From: Simon Mages <mages.simon@googlemail.com>
To: zsh-users@zsh.org
Cc: Stephane Chazelas <stephane.chazelas@gmail.com>
Subject: Re: file transfer with zsh
Date: Wed, 30 Mar 2011 18:31:51 +0200 [thread overview]
Message-ID: <AANLkTi=YZUxgrPO0Vg3MC3cRbewuDtB0LTaFcW9idC1s@mail.gmail.com> (raw)
In-Reply-To: <chaz20110330153609.GA6117@seebyte.com>
[-- Attachment #1: Type: text/plain, Size: 985 bytes --]
2011/3/30 Stephane Chazelas <stephane.chazelas@gmail.com>
> 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
prev parent reply other threads:[~2011-03-30 16:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-30 12:09 Simon Mages
2011-03-30 14:37 ` Bart Schaefer
2011-03-30 16:29 ` Simon Mages
2011-03-30 15:36 ` Stephane Chazelas
2011-03-30 16:31 ` Simon Mages [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=YZUxgrPO0Vg3MC3cRbewuDtB0LTaFcW9idC1s@mail.gmail.com' \
--to=mages.simon@googlemail.com \
--cc=stephane.chazelas@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).