Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: tar bzip
- X-seq: zsh-users 5936
- From: William Park <opengeometry@xxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: tar bzip
- Date: Sat, 22 Feb 2003 20:52:08 -0500
- In-reply-to: <87lm073h95.fsf@xxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <87lm073h95.fsf@xxxxxxxxxxxx>
On Sun, Feb 23, 2003 at 02:41:58AM +0100, Dennis Haney wrote:
>
> xvzf is in my fingers and I keep forgetting it every time I untar a
> bzip file, so:
>
> How is it possible to get tar xvzf something.tbz (or
> something.tar.bz2) to convert the z (in xvzf) to a j?
Perhaps,
case $2 in
*.tbz|*.tar.bz2) tar ${1/z/j} $2
esac
--
William Park, Open Geometry Consulting, <opengeometry@xxxxxxxx>
Linux solution for data management and processing.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author