From owner-freebsd-questions@FreeBSD.ORG Mon Apr 20 11:57:40 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 CB300106564A for ; Mon, 20 Apr 2009 11:57:40 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-bw0-f165.google.com (mail-bw0-f165.google.com [209.85.218.165]) by mx1.freebsd.org (Postfix) with ESMTP id 508C68FC23 for ; Mon, 20 Apr 2009 11:57:40 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by bwz9 with SMTP id 9so1302274bwz.43 for ; Mon, 20 Apr 2009 04:57:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=oxAnHW7w2Qg1iR30cUxt+p+96pxUY92hyn2yGEiUZM8=; b=XezOC6pfpm8VCfALAiTVhaDrcdI8571S7FemjkIxqidxtDaQSFWbDoO3JnctL8yheD KwyNhGiRYVMvOup7JjVp5ro8utzMys9Ev5acF5byKm/t0maVQcVD8mkbNlWvqFRVuFjd 7+b/wyi0R+O0DewEJQTI64w8BR/vlQJXwMe9U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=g0cc0M6jFTq3NkqS8KlsViM1EYR05XMuT6Lh8n+GLRZxx2jw1xsBbfR+2TUI6p6rAH Tb9A/kdzG623TeZM+bLln+1pVsUDMKyfWYA+2D7LiyII6loP2ahDH6aPyqzNf9n8hQrI mkxhvENSllayV7NGS/ynQN0wrdabhyt9D1w8g= MIME-Version: 1.0 Received: by 10.223.126.66 with SMTP id b2mr1549112fas.67.1240228659260; Mon, 20 Apr 2009 04:57:39 -0700 (PDT) In-Reply-To: <20090420134758.065018ea@baby-jane.lamaiziere.net> References: <1bd550a00904200422od3776c8ge59127854e10fac4@mail.gmail.com> <20090420134758.065018ea@baby-jane.lamaiziere.net> Date: Mon, 20 Apr 2009 14:57:39 +0300 Message-ID: <991123400904200457o653340cah3d379a403e1183e@mail.gmail.com> From: =?UTF-8?B?T2RoaWFtYm8g44Ov44K344Oz44OI44Oz5bee?= To: =?UTF-8?Q?Patrick_Lamaizi=C3=A8re?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: User Questions , 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:57:41 -0000 2009/4/20 Patrick Lamaizi=C3=A8re > 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 Wow!! Looks brilliant. Several hidden swissknifes (yea, not knives)! --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain