zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Simon Mages <mages.simon@googlemail.com>, zsh-users@zsh.org
Subject: Re: file transfer with zsh
Date: Wed, 30 Mar 2011 07:37:21 -0700	[thread overview]
Message-ID: <110330073721.ZM618@torch.brasslantern.com> (raw)
In-Reply-To: <AANLkTi=5d=ZECsWew8fVnUtiF-nMuP2zWzZ6umqPmrBy@mail.gmail.com>

On Mar 30,  2:09pm, Simon Mages wrote:
} 
} 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.

If SFTP is too slow, you're not likely to write a shell script that
outperforms it enough to make any useful difference.  Have you checked
whether rsync will work?  That'd be your most efficient option.

What is it you were hoping to do?  Set up your own service listening on
a port on one machine and connect to it from another?  That's done with
the tcp_point and tcp_shoot commands; run tcp_point on the destination
machine and then tcp_shoot on the source machine.  There's an example
of this in the documentation.  "sum" or "md5sum" the files on both
sides after transfer to make sure nothing was lost or corrupted.

However, if you can set up tcp_point on an open port on the target
machine, you ought to be able to set up an rsync daemon instead, and
that'll be much more reliable and probably a lot faster.

Failing that, I'd recommend instead that you create an account on one of
the cloud-based file-sharing services like dropbox.com or the recently-
announced Amazon cloud drive or even Amazon S3.  Push the archives there
and then pull them down to the target.  Yes, this theoretically takes
twice as long as direct transfer but should be reliable and possibly
automatic (hmm, I don't know if e.g. dropbox has a Solaris client).


  reply	other threads:[~2011-03-30 14:37 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 [this message]
2011-03-30 16:29   ` Simon Mages
2011-03-30 15:36 ` Stephane Chazelas
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=110330073721.ZM618@torch.brasslantern.com \
    --to=schaefer@brasslantern.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).