LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-26-2005, 12:23 PM   #1
tongar
Member
 
Registered: Jan 2005
Distribution: SUSE ES 9 for x86
Posts: 43

Rep: Reputation: 15
SuSE KDE: Easy way to untar .taz files


I deal with a lot of .taz files and do not want to go to the shell prompt each time and do:

mv filename.taz filename.tar.Z
uncompress filename.tar.Z
tar xvf filename.tar

When I am in the KDE File Manager - Super User Mode, and right click on a .taz file, I do not see any actions or openwith options to do this.

I do see a way to add an OpenWith program and associate it with an extension, but I could not make it work with a test bash script. I could not write the actual bash script as I could not see how to get the filename substring. I was assuming the first parameter would be the filename.taz. Perhaps Openwith is not intended to be used with bash scripts.

This being a rather common task, am I overlooking a better way to do it? Is there some utility I need to get and install that would cause the .taz extension to be registered with KDE for the new utility?

thanks for any ideas,
tongar
 
Old 01-26-2005, 01:03 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Unfortunately, I can be of no help, but why are you using .tar.Z or .taz? .tar.gz/.tgz and .tar.bz2 give much better compression.
 
Old 01-26-2005, 01:11 PM   #3
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Install Ark, if you haven't got it already, it supports tar.Z, and integrates into the KDE environment.

To add the extension taz, goto the Control Center->KDE Components->File Associations, tar.Z is under application/x-tarz If you click on it it brings up a list on the right of the file patterns for this type. Currently its set for *.tar.Z simply Click Add, and type in *.taz click apply and your done.

Then right-click the files and select Extract... Also if you click on the file Konq will open it up as if it was a directory.
 
Old 01-27-2005, 02:34 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
From command line, you may invoke tar with the command Z. This runs automatic decompression and you do not need to rename if you are sure about the compression type.

Code:
tar -xZvf filename.taz
This should do the job...as far as I know.
 
Old 06-30-2010, 06:52 AM   #5
rungss
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Code:
tar -xvf filename.taz
This Worked for me while the following solution suggested by abisko00 didn't
Code:
tar -xZvf filename.taz
Also, using the GUI file-roller worked for me on Ubuntu.

To figure out what should Work I opened Synaptic Package Manager from System => Administration and entered taz in the search field, the only package shown after the filter was file-roller

Regards,
Bijay Rungta
@rungss on Twitter
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
untar a list of tar files? Rotwang Linux - General 6 10-10-2006 01:34 PM
untar multiple files redhax8 Linux - Software 2 10-18-2004 01:13 AM
a way to untar multiple files alphisb0t Linux - Software 1 07-05-2004 12:19 PM
help, how do install programs from .taz.gz files? SamJ Linux - Newbie 10 02-17-2004 05:50 PM
Couple of easy questions on Suse startup files and QT digitized_funk Linux - Newbie 1 10-15-2003 11:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 07:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration