[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tar on nfs freezes



On Sat, Jun 30, 2001 at 01:05:20PM +0200, Martin Maciaszek wrote:
> For copying large abounts of data over the network I suggest
> using a netcat tunnel. This works faster than scp and doesn't
> need any network file systems.
> 
> 1. On the destination system start netcat listening on an
> arbitrary port and piping it's output to tar. (Make sure that
> you're in the right directory, since tar will extract into the
> current directory. Alternatively you can use the -C option)
>   e.g.: nc -l -p $PORT | tar -xf -
> 
> 2. On the source system pipe the output of tar to netcat which
> sends the data over the network to the destination machine.
>   e.g.: tar -cf - $DIRECTORY | nc $HOST $PORT
> 
> 3. Just sit back and wait :)

What and where is 'nc'?

Neither 'man -k' nor 'apt-cache search' finds anything
for either 'nc' or 'netcat'.

-- 
If you start with the already absurd assumption that the
government is the morally active force and that the nation is
passive, are you not putting morals, doctrines, opinions, wealth,
everything that makes up the life of the individual at the mercy
of the men who one after another come to power?
	-- Frédéric Bastiat (1801-1850)
    Rick Pasotto    rickp@telocity.com    http://www.niof.net



Reply to: