From owner-freebsd-questions@FreeBSD.ORG Mon Apr 20 11:48:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10B6C1065675 for ; Mon, 20 Apr 2009 11:48:02 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id C64EA8FC21 for ; Mon, 20 Apr 2009 11:48:01 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from baby-jane.lamaiziere.net (210.10.87-79.rev.gaoland.net [79.87.10.210]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 543406332D9; Mon, 20 Apr 2009 13:48:00 +0200 (CEST) Received: from baby-jane.lamaiziere.net (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id 3D7EBC094; Mon, 20 Apr 2009 13:48:00 +0200 (CEST) Date: Mon, 20 Apr 2009 13:47:58 +0200 From: Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= To: User Questions Message-ID: <20090420134758.065018ea@baby-jane.lamaiziere.net> In-Reply-To: References: <1bd550a00904200422od3776c8ge59127854e10fac4@mail.gmail.com> Organization: /dave/nulle X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Zbigniew Szalbot Subject: Re: how to copy files without directories X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2009 11:48:02 -0000 Le Mon, 20 Apr 2009 13:24:42 +0200, "Zbigniew Szalbot" : > Ahh... I am sorry. Wrong subject. I want to copy directories without > files they contain. see mtree(8) Something like $ mtree -dc -p path1 | mtree -U -p path2 will copy path1 under path2