Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
blow(1) 		     General Commands Manual			 blow(1)

NAME
     suck, blow -- transfer data over a TCP connection

SYNOPSIS
     suck [-v] [-p port] [remote-ip]
     blow [-v] [-p port] [remote-ip]

DESCRIPTION
     Suck  and blow are simple programs used to transfer data over a TCP connec-
     tion.  Blow is the originator of the data, which is read from standard  in-
     put,  while suck is the recipient of the data, which is written to standard
     output.

     Either program may originate the TCP  connection  which  is  used	for  the
     transfer; whichever program is supplied with the remote-ip argument will be
     the  originator.	The  other  program  is  expected  to  have already been
     started, with no remote-ip argument, causing it to await a connection  from
     the peer.

     These programs are often useful in conjunction with archiving programs such
     as tar(1).

     The options are as follows:

     -v      Increased verbosity.

     -p      Specify an alternate TCP port to use. The default port is 6060.

EXAMPLES
     To  transfer  the	directory hierarchy mystuff from machine A to machine B,
     first on machine B:

	   [machineB] $ suck | tar xvf -

     and then on machine A:

	   [machineA] $ tar cvf - mystuff | blow machineB

     If machine B was behind a firewall, you could do this instead:

	   [machineA] $ tar cvf - mystuff | blow

     and then on machine B:

	   [machineB] $ suck machineA | tar xvf -

SEE ALSO
     cpio(1), tar(1)

AUTHORS
     Archie Cobbs <archie@whistle.com>

4th Berkeley Distribution	  June 23, 2000 			 blow(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=suck&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help