Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: "unarchive" script/function?
- X-seq: zsh-users 13682
- From: "Nikolai Weibull" <now@xxxxxxxx>
- To: TjL <luomat@xxxxxxxxx>
- Subject: Re: "unarchive" script/function?
- Date: Fri, 9 Jan 2009 09:57:15 +0100
- Cc: zsh-users@xxxxxxxxxx
- 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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=Fr+7xBam0gBemUHt+G/gyqRP19OUbHHIPGT3FXfRsdA=; b=e7MODjYt+BRmIHE8uHk+FtslH3Y4Y5kmGtA+h6bfoCLcpYI5jnIRpRY0rxAt5Li2f5 3oaWCa7SYYvoZlrjLuV8TshxKBmvSmj1kJr3+R06gX6ImywvtoxAQlg+yTAoei+E84Am 8ucGHYJpj7wTqntdLH6zmGfN0Zt2LKxdKYkQ8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=XB8jMVWk79j414JufrB8824Eit6IsMbQl0rEDdeZHeTotIgcNtO2l1nLlzMq03S6SQ ccQko/RC1s+Eg1CvRMrBR9GVe/c4ATTiGr1jvw5Hj4DeMGEiTLPsVIWoyUatsLB+1FWG 9AgaM5zyDEovWuiIzhaXVu+UGcUIugLOWIVnU=
- In-reply-to: <d2ecb10b0901070818v44d2bbbdvb03b11d0fb0410e0@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <d2ecb10b0901070818v44d2bbbdvb03b11d0fb0410e0@xxxxxxxxxxxxxx>
- Sender: nikolai.weibull@xxxxxxxxx
On Wed, Jan 7, 2009 at 17:18, TjL <luomat@xxxxxxxxx> wrote:
> Basically I want to be able to throw any kind of archive/compression
> method and have them all dealt with, so I could theoretically do this:
>
>
> unarchive file1.zip file2.tar file3.tbz file4.tar.gz
>
>
> and the "unarchive' program would know what to do with each.
> Before I re-invent the wheel, does anyone have something like this
> already written up?
Here's what I use:
http://git.bitwi.se/?p=dot-home.git;a=blob;f=bin/unpack;h=4a02ec410e932e2cc38eb5d48c8f353d6a303a97;hb=HEAD
It requires additional libraries, though, so you'd have to modify it
unless you install them as well (http://git.bitwi.se/?p=zap.git).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author