From owner-freebsd-questions@FreeBSD.ORG Mon Dec 6 07:45:31 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 624BA106564A for ; Mon, 6 Dec 2010 07:45:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2396A8FC12 for ; Mon, 6 Dec 2010 07:45:30 +0000 (UTC) Received: from r55.edvax.de (port-92-195-8-222.dynamic.qsc.de [92.195.8.222]) by mx01.qsc.de (Postfix) with ESMTP id 928713D229; Mon, 6 Dec 2010 08:45:29 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id oB67jSDJ006533; Mon, 6 Dec 2010 08:45:28 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 6 Dec 2010 08:45:28 +0100 From: Polytropon To: Zbigniew Szalbot Message-Id: <20101206084528.7423067a.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 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 Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2010 07:45:31 -0000 On Mon, 6 Dec 2010 08:17:17 +0100, Zbigniew Szalbot wr= ote: > Dear=A0all, >=20 > From time to time I want to archive a quite a few directories to > download them conveniently. I have been using tar to do it, endingin > up with a tar.gz file. But the problem with it is that I do not have a > unix machine at home so if I want to extract something or unpack the > content, there is no easy way to do that. My question basically is if > there is a way to end up with a zip file? You can install the "zip" program: # pkg_add -r zip and then use it recursively, e. g. % 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. > Or are there any windows > tools to unzip and/or extract content from tar.gz files? There should be a TAR.EXE program, at least it existed as an addition to DOS. I'm not sure this exists for "Windows", or if you need some additional program for that. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...