LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-12-2010, 08:07 PM   #1
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64- 5.15.2
Posts: 909

Rep: Reputation: 55
xz compression questions


Runing slackware64-13.1 and 13.1 on other boxes. I want to read this tar file and tried untarring it to my flash drive:
Code:
bash-4.1$ tar -C /media/disk/tagfiles -zxvf tagfiles.tar
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
What does this mean? Can most files be compressed and uncompressed with .txz or xz utilities?
 
Old 06-12-2010, 08:12 PM   #2
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
The tar archive isn't compressed with gzip, so you don't need the 'z' option.

tar -C /media/disk/tagfiles -xvf tagfiles.tar

Last edited by piratesmack; 06-12-2010 at 08:18 PM.
 
Old 06-12-2010, 08:19 PM   #3
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
I tmeans it is not compressed...

Quote:
Originally Posted by NightSky View Post
Code:
bash-4.1$ tar -C /media/disk/tagfiles -zxvf tagfiles.tar
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
What does this mean?
Just use

Code:
tar -C /media/disk/tagfiles -xvf tagfiles.tar
Note the filename is tagfiles.tar - not tagfiles.tar.gz
 
Old 06-12-2010, 09:52 PM   #4
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64- 5.15.2
Posts: 909

Original Poster
Rep: Reputation: 55
Thank you sooo much.
 
  


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
Slax with SquashFS-4 new compression algorithm and layered compression ratios? lincaptainhenryjbrown Linux - Software 2 06-19-2009 05:29 PM
Compression une Linux - General 7 12-27-2007 04:20 PM
About compression on CD s26c.sayan Linux - Newbie 2 04-18-2007 04:27 PM
compression oldstinkyfish Linux - Software 2 12-02-2004 02:53 PM
best compression drigz Linux - Software 2 06-05-2004 07:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:19 AM.

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