SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.