From owner-freebsd-questions@FreeBSD.ORG Mon Dec 6 08:23:49 2010 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 BF96E106564A for ; Mon, 6 Dec 2010 08:23:49 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 85D368FC14 for ; Mon, 6 Dec 2010 08:23:49 +0000 (UTC) Received: by iwn39 with SMTP id 39so14377031iwn.13 for ; Mon, 06 Dec 2010 00:23:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=k4ygYn/936nSnpjRLYCv/ogZRP16Mos8psOGDx4U4/w=; b=kSovAq+SSMEDH8tItagkogETTTK8Ft00KMukMf4LxbLLQo8M962NHEjElCmHA6X1Cj esR1hxeiy3rDw8KhqRc5Mv6adRr/h64koOggLslQvKR/cVkQb4TGG0a2op8eIQh+lKVj s4K3ULTQYRBd89L3HQhS6e6gICpC8PxnBC1uA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=gq6QpzDDuWz9m9cDpMNqy2jIfngaRMqeugJVWWn31gu/XpsoDAVwZ2yYbpj/Di12Dr 0gd8n7XG1GAkYUvKR/ZvZlM1Yp4T2VtlDV+C4Sa2MaNRcMuibNdhPJx3Rr8Jqox2ZvyP mdqRZlWWMFBNhjDiK6ocBroRiKRBvTZy6SVOQ= Received: by 10.231.157.14 with SMTP id z14mr5639339ibw.85.1291623828826; Mon, 06 Dec 2010 00:23:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.199.211 with HTTP; Mon, 6 Dec 2010 00:23:33 -0800 (PST) In-Reply-To: <20101206084528.7423067a.freebsd@edvax.de> References: <20101206084528.7423067a.freebsd@edvax.de> From: Zbigniew Szalbot Date: Mon, 6 Dec 2010 09:23:33 +0100 Message-ID: To: Polytropon Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: User Questions Subject: Re: Archiving directories / zip format 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, 06 Dec 2010 08:23:49 -0000 Hello, On 6 December 2010 08:45, Polytropon wrote: > You can install the "zip" program: > > =C2=A0 =C2=A0 =C2=A0 =C2=A0# pkg_add -r zip > > and then use it recursively, e. g. > > =C2=A0 =C2=A0 =C2=A0 =C2=A0% zip -r9 stuff.zip dir1 dir2 dir3 fileX fileY > > If there is no need for compression, change 9 to 0. Also > see "man zip" for details. Great! Thanks so much! I occasionally need to extract a few files from the archive so this is very useful. Thank you! All the best from Poland. Zbigniew Szalbot