[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Shell for gunzip so I don't have to remember?



On 12-May-99 Matt Folwell wrote:
> Hi Andre
> gzip only compresses one file at a time, but those files are almost
> certainly
> tar archives.  (They should end in .tar.gz, but your pc might have truncated
> the filenames.)  You can extract them with tar -zvxf <filename>.  You can
> also list the files in the archive with tar -ztf <filename>, t being the
> most
> obvious abbreviation for list :-)

I thought Andre was looking for an alias, so he would not need to remember the
switches.

something like:
alias tarx='tar -xvzf $1 $2 $3 $4 $5 $6'

for his .bash_profile ?

--
Andrew

[PGP5.0 Key ID 0x5EE61C37]



Reply to: