From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KyFGR-0008MK-V8 for garchives@archives.gentoo.org; Fri, 07 Nov 2008 00:31:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0075BE0252; Fri, 7 Nov 2008 00:31:51 +0000 (UTC) Received: from mail-gx0-f15.google.com (mail-gx0-f15.google.com [209.85.217.15]) by pigeon.gentoo.org (Postfix) with ESMTP id CA05BE0252 for ; Fri, 7 Nov 2008 00:31:50 +0000 (UTC) Received: by gxk8 with SMTP id 8so516104gxk.10 for ; Thu, 06 Nov 2008 16:31:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=Sud4mHNlJsAP9FNdpx4Hu6xAhSqeJ3eAL/HwErfwt6o=; b=PB+M5mYei0xqed1a87XYjIIw+Xa6/KUBZ8HVGMOkG6CrI2Hno2Tg4l6XGtBoRQI/Yr ZLHFKlTgWDTn6hPPkLlMMeCsGLvkMlZk7wvyZkYFk7NZ5Qniv7iJJIGAIlOgQjkwe4n5 CUxurKwW7WbqTFMx7/x1mjFtt8gb18rKSRq/4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=SxG3TMQ1lEeeMqQEhufWitOFvffa4iSwyiqF7f7OqhdMD1rZn6GLpUYx9tlsBhYvNK 7h0ERsVe8Ezf9HC7dw4zh++nDoEtRGOeTcWlG+VJ6J7fgvuhgkr7MMiQNF23r5tePbVT QN8H0p3Ah363VBBEihoXzpnS0Tl76uByHbZ9M= Received: by 10.90.101.17 with SMTP id y17mr2475520agb.24.1226017907860; Thu, 06 Nov 2008 16:31:47 -0800 (PST) Received: by 10.90.81.1 with HTTP; Thu, 6 Nov 2008 16:31:47 -0800 (PST) Message-ID: <38af3d670811061631h4773fb6au1ede1db26c816c7a@mail.gmail.com> Date: Thu, 6 Nov 2008 22:31:47 -0200 From: "Jorge Peixoto de Morais Neto" Sender: jorgepeixotomorais@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] lzma archives In-Reply-To: <4912C958.4040103@f_philipp.fastmail.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081105163844.GA4503@stdcall> <38af3d670811050850i65aa8c91lf5d61cfc932a6246@mail.gmail.com> <4912C958.4040103@f_philipp.fastmail.net> X-Google-Sender-Auth: eb41834d4dc0f83c X-Archives-Salt: 8f55b19f-ed4b-41f5-82f6-a074524df771 X-Archives-Hash: 32398ae1931a31c3636202a0867bf38a On Thu, Nov 6, 2008 at 8:39 AM, Florian Philipp wrote: > Jorge Peixoto de Morais Neto schrieb: >> On Wed, Nov 5, 2008 at 2:38 PM, Nickolay Hodyunya wrote: >>> How to extract lzma archives? >> >> by lzma archive, you probably mean a lzma-compressed tar archive. >> You can extract them with >> lzma -dc compressedarchive.tar.lzma | tar -xv -f - > > This command line can be simplified: > unlzma -c compressedarchive.tar.lzma | tar xv I like to do things right (I love Math, exactness and rigor). From tar's info page If you don't specify this argument [the argument to -f] , then `tar' will examine the environment variable `TAPE'. If it is set, its value will be used as the archive name. Otherwise, `tar' will use the default archive, determined at the compile time. [...] If there is no tape drive attached, or the default is not meaningful, then `tar' will print an error message. The error message might look roughly like one of the following: tar: can't open /dev/rmt8 : No such device or address tar: can't open /dev/rsmt0 : I/O error To avoid confusion, we recommend that you always specify an archive file name by using `--file=ARCHIVE-NAME' (`-f ARCHIVE-NAME') when writing your `tar' commands. Regarding old-style tar options (that is, tar options without a dash): old style syntax makes it difficult to match option letters with their corresponding arguments, and is often confusing [...] This old way of writing `tar' options can surprise even experienced users. For example, the two commands: tar cfz archive.tar.gz file tar -cfz archive.tar.gz file are quite different. So I use either tar --lzma -xv -f compressedarchive.tar.lzma or, when using an old tar, lzma -dc compressedarchive.tar.lzma | tar -xv -f -