From: Stephane Chazelas <stephane.chazelas@gmail.com>
To: Simon Mages <mages.simon@googlemail.com>
Cc: zsh-users@zsh.org
Subject: Re: file transfer with zsh
Date: Wed, 30 Mar 2011 16:36:09 +0100 [thread overview]
Message-ID: <chaz20110330153609.GA6117@seebyte.com> (raw)
In-Reply-To: <AANLkTi=5d=ZECsWew8fVnUtiF-nMuP2zWzZ6umqPmrBy@mail.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
next prev parent reply other threads:[~2011-03-30 15:44 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 [this message]
2011-03-30 16:31 ` Simon Mages
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=chaz20110330153609.GA6117@seebyte.com \
--to=stephane.chazelas@gmail.com \
--cc=mages.simon@googlemail.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).