Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2001 12:39:27 -0800 (PST)
From:      "f.johan.beisser" <jan@caustic.org>
To:        "G. Jason Middleton" <gmiddl1@gl.umbc.edu>
Cc:        Questions list <freebsd-questions@FreeBSD.ORG>
Subject:   Re: copying a directory and sub directories
Message-ID:  <20011214123735.F16958-100000@localhost>
In-Reply-To: <Pine.SGI.4.31L.02.0112141417270.15328111-100000@irix2.gl.umbc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 14 Dec 2001, G. Jason Middleton wrote:

> Hello all,
>
> I am in a jam an need to copy a 2 gig directory including it's
> subdirectories from one machine to another....how can i do this without
> having to enable ftpserver service on the source machine....in other words
> I can FTP it from source to target...and since tar has it's 2gig
> limitation I cannot tar the whole directory and subs.

how about:

	tar cf - <directory> | ssh user@host tar xvf -C <directory> -

that'll tunnel a directory, and all the sub directories, and permissions
over an ssh tunnel. it goes fairly fast.


-------/ f. johan beisser /--------------------------------------+
  http://caustic.org/~jan                      jan@caustic.org
    "John Ashcroft is really just the reanimated corpse
         of J. Edgar Hoover." -- Tim Triche


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011214123735.F16958-100000>