public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Best way to copy /* ?
Date: Wed, 29 Dec 2010 11:43:27 -0600	[thread overview]
Message-ID: <AANLkTi=jcKqK+os_VdM96A-BdGDay4NzVr_Dw9P2eDKD@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=BCm6Z-p90YqaJZiKjz6Lib-KXOA6O6r-rva23@mail.gmail.com>

On Wed, Dec 29, 2010 at 11:14 AM, Maciej Grela <maciej.grela@gmail.com> wrote:
> 2010/12/29 Peter Humphrey <peter@humphrey.ukfsn.org>:
>> On Monday 27 December 2010 15:47:19 Dale wrote:
>>
>>> Some people do use tar especially if it is over a network or
>>> something like that.  I don't have the command tho since I never
>>> used it.
>>
>> Just for completeness:
>>
>> (cd [source] && tar cpf - . | (cd [dest] && tar xpf - ) )
>>
>> (I think).
>>
>> Would someone here please tell me what the rhs should be if the
>> destination is at the other end of a network link?
>
> On the destination
>
> root@richese:~# nc -l 5555 | tar -xjv
> tar: Rozmiar rekordu = 8 bloków
> Pobrane/
> Pobrane/Vol 28_16.pdf
> Pobrane/EPWA-APP2.flac
> Pobrane/EPWA-APP1.flac
> root@richese:~#
>
> On the source:
>
> thermal@richese:~$ tar -cjv Pobrane/ | nc localhost 5555
> Pobrane/
> Pobrane/Vol 28_16.pdf
> Pobrane/EPWA-APP2.flac
> Pobrane/EPWA-APP1.flac
> thermal@richese:~$
>
> Voila !

I copied several TB over network this way (netcat + tar), when I had
no possibility of physically copying data to disks (or removing disks
to copy to target machine). It worked perfectly and with a gigabit
network link between the two machines it was not so long of a job. :)



  reply	other threads:[~2010-12-29 17:45 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-27 15:20 [gentoo-user] Best way to copy /* ? Marc Blumentritt
2010-12-27 15:20 ` Etaoin Shrdlu
2010-12-27 16:37   ` Neil Bothwick
2010-12-27 16:52     ` Mark Knecht
2010-12-27 17:05       ` [gentoo-user] " Remy Blank
2010-12-27 20:26         ` Marc Blumentritt
2010-12-27 21:23           ` Remy Blank
2010-12-28  8:56             ` Marc Blumentritt
2010-12-28  9:18               ` Remy Blank
2010-12-28 10:49                 ` Neil Bothwick
2010-12-27 15:30 ` [gentoo-user] " ich bins
2010-12-27 15:34 ` [gentoo-user] " Lubos Kolouch
2010-12-27 15:41 ` [gentoo-user] " Jarry
2010-12-27 15:47 ` Dale
2010-12-29 17:03   ` Peter Humphrey
2010-12-29 17:14     ` Maciej Grela
2010-12-29 17:43       ` Paul Hartman [this message]
2010-12-29 17:50     ` Alex Schuster
2010-12-29 18:30       ` Peter Humphrey
2010-12-29 18:41         ` Alex Schuster
2010-12-29 19:16           ` Mick
2010-12-29 20:24             ` Stefan G. Weichinger
2010-12-27 17:27 ` Volker Armin Hemmann
2010-12-27 17:38   ` Mark Knecht
2010-12-27 17:51     ` Volker Armin Hemmann
2010-12-27 18:01       ` Mark Knecht
2010-12-27 17:45   ` Dale
2010-12-27 18:45     ` Neil Bothwick
2010-12-27 21:35       ` Dale
2010-12-28  5:02 ` Mike Edenfield
2010-12-28 13:20   ` Alex Schuster
2010-12-28 13:32   ` Neil Bothwick
2010-12-28 16:26     ` Joerg Schilling
2010-12-28 18:41       ` Mick
2010-12-29 15:38         ` Joerg Schilling
2010-12-29 16:17           ` Mick
2010-12-28 22:33       ` Neil Bothwick
2010-12-28 23:16         ` Mick
2010-12-28 23:36         ` Joerg Schilling
2010-12-29  0:51           ` Alex Schuster
2010-12-28 23:08       ` Alex Schuster
2010-12-29 14:40 ` [gentoo-user] Re: Best way to copy /* ? [SOLVED] Marc Blumentritt

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='AANLkTi=jcKqK+os_VdM96A-BdGDay4NzVr_Dw9P2eDKD@mail.gmail.com' \
    --to=paul.hartman+gentoo@gmail.com \
    --cc=gentoo-user@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox