Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: file transfer with zsh
- X-seq: zsh-users 15907
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: Simon Mages <mages.simon@xxxxxxxxxxxxxx>
- Subject: Re: file transfer with zsh
- Date: Wed, 30 Mar 2011 16:36:09 +0100
- Cc: zsh-users@xxxxxxx
- In-reply-to: <AANLkTi=5d=ZECsWew8fVnUtiF-nMuP2zWzZ6umqPmrBy@mail.gmail.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>
- Mail-followup-to: Simon Mages <mages.simon@xxxxxxxxxxxxxx>, zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author