From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 21 23:22:58 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E47FA16A41F; Wed, 21 Dec 2005 23:22:58 +0000 (GMT) (envelope-from mlobo@digiart.art.br) Received: from recife.ipadnet.com.br (recife.ipadnet.com.br [200.249.204.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE63143D75; Wed, 21 Dec 2005 23:22:57 +0000 (GMT) (envelope-from mlobo@digiart.art.br) Received: from studio-too ([201.19.178.103]) (authenticated bits=0) by recife.ipadnet.com.br (8.12.8/8.12.8) with ESMTP id jBLNgkNU007934; Wed, 21 Dec 2005 20:42:47 -0300 From: "Mario Lobo" To: Doug Barton Date: Wed, 21 Dec 2005 20:25:16 -0300 MIME-Version: 1.0 Message-ID: <43A9BA2C.21442.189E2F@localhost> Priority: normal In-reply-to: <43A9C9D7.40506@FreeBSD.org> References: <79e2026f0512211237i4cdd2c70yc0923959d7ec1c98@mail.gmail.com> X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Antivirus: avast! (VPS 0551-2, 20/12/2005), Outbound message X-Antivirus-Status: Clean Cc: hackers@freebsd.org Subject: Re: copy directory structure X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2005 23:22:59 -0000 use this: tar -vpcf - -C source-dir . | tar xpf - -C destination-dir destination-dir must exist. This will copy everything inside source-dir to destination-dir. -- //| //|| // | // || -//--//--|| ARIO LOBO // // || --------------------------------- mlobo@digiart.art.br http://www.digiart.art.br/MarioLobo/ http://www.mallavoodoo.com.br > Ashok Shrestha wrote: > > Do you know how to copy just a directory structure (not the files inside it)? > > This is better suited for freebsd-questions@, but I'll give you a hint, the > answer should probably involve find. :) > > Good luck, > > Doug > > -- > > This .signature sanitized for your protection > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"