From owner-freebsd-questions Fri Dec 14 12:39:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pogo.caustic.org (caustic.org [64.163.147.186]) by hub.freebsd.org (Postfix) with ESMTP id D5B0B37B41A for ; Fri, 14 Dec 2001 12:39:34 -0800 (PST) Received: from localhost (jan@localhost) by pogo.caustic.org (8.11.6/8.11.6) with ESMTP id fBEKdRr77807; Fri, 14 Dec 2001 12:39:27 -0800 (PST) (envelope-from jan@caustic.org) Date: Fri, 14 Dec 2001 12:39:27 -0800 (PST) From: "f.johan.beisser" X-X-Sender: To: "G. Jason Middleton" Cc: Questions list Subject: Re: copying a directory and sub directories In-Reply-To: Message-ID: <20011214123735.F16958-100000@localhost> X-Ignore: This statement isn't supposed to be read by you X-TO-THE-FBI-CIA-AND-NSA: HI! HOW YA DOIN? MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 - | ssh user@host tar xvf -C - 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