From owner-freebsd-questions@FreeBSD.ORG Mon Apr 20 12:38:58 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 518E2106566B for ; Mon, 20 Apr 2009 12:38:58 +0000 (UTC) (envelope-from z.szalbot@lcwords.com) Received: from relay.lc-words.com (relay.lc-words.com [62.121.130.110]) by mx1.freebsd.org (Postfix) with ESMTP id F2DCD8FC14 for ; Mon, 20 Apr 2009 12:38:57 +0000 (UTC) (envelope-from z.szalbot@lcwords.com) Received: from localhost (localhost [127.0.0.1]) by relay.lc-words.com (Postfix) with ESMTP id 605F5B8061; Mon, 20 Apr 2009 14:38:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lcwords.com; s=mainlcwords; t=1240231136; bh=pUGDieMT5++XiSP4tRuggnpOtF4v1OGlURtSBHYo0Fs=; h=Date:To:Subject:From:Content-Type:MIME-Version:References: Content-Transfer-Encoding:Message-ID:In-Reply-To; b=EN2mLEwHiWs9KCpbBVCT2hqZ6k9bkMFYL3fMfy4FC7hySBimtEeb4enQy3FFc3EEe rarvR6QAaD7T/7wYy/dfk5teDXu9PqIw5xN9pau6o7tSG2J4AY2bKCUclSMw0pCSmy 2w5x+HU1IPDdS4fW6NGjii0gqOkH0y73EgkqKT1A= Received: from relay.lc-words.com ([127.0.0.1]) by localhost (relay.lc-words.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 55850-04; Mon, 20 Apr 2009 14:38:53 +0200 (CEST) Received: from toshizbyszek.lists.lc-words.com (aejn229.neoplus.adsl.tpnet.pl [79.186.247.229]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: z.szalbot@lcwords.com) by relay.lc-words.com (Postfix) with ESMTPSA id 1BC71B8029; Mon, 20 Apr 2009 14:38:53 +0200 (CEST) Date: Mon, 20 Apr 2009 14:38:49 +0200 To: =?utf-8?Q?Patrick_Lamaizi=C3=A8re?= , "User Questions" From: "Zbigniew Szalbot" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-2 MIME-Version: 1.0 References: <1bd550a00904200422od3776c8ge59127854e10fac4@mail.gmail.com> <20090420134758.065018ea@baby-jane.lamaiziere.net> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20090420134758.065018ea@baby-jane.lamaiziere.net> User-Agent: Opera Mail/10.00 (Win32) X-Virus-Scanned: Maia Mailguard Cc: Subject: Re: how to copy directories without files (was "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 12:38:58 -0000 Hello, >> 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 Excellent! Thank you so much! Zbigniew Szalbot