Projects / GNU tar / Comments

Comments for GNU tar

21 Aug 2009 18:44 donguri

tar's recognition of compression formats works for bzip2, gzip, but not for xz:

Fails:

cat slocate-3.1.txz | tar tvf -
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors

Works:
cat slocate-3.1.tgz | tar tvf -
drwxr-xr-x root/root 0 2006-04-19 06:56 ./
drwxr-xr-x root/root 0 2009-07-18 02:06 usr/
drwxr-xr-x root/root 0 2009-07-18 02:06 usr/doc/
drwxr-xr-x root/root 0 2009-07-18 02:06 usr/doc/slocate-3.1/
-rw-r----- root/root 17998 2005-12-20 07:30 usr/doc/slocate-3.1/LICENSE
-rw-r----- root/root 6593 2006-03-08 05:40 usr/doc/slocate-3.1/README
-rw-r----- root/root 63 2006-01-12 23:00 usr/doc/slocate-3.1/WISHLIST
-rw-r----- root/root 7018 2006-03-08 05:40 usr/doc/slocate-3.1/Changelog
drwxr-xr-x root/root 0 2002-04-07 12:27 usr/man/
drwxr-xr-x root/root 0 2009-07-18 02:06 usr/man/man1/
-rw-r--r-- root/root 787 2009-07-18 02:06 usr/man/man1/updatedb.1.gz
-rw-r--r-- root/root 1303 2009-07-18 02:06 usr/man/man1/slocate.1.gz
drwxr-xr-x root/root 0 2002-04-07 11:32 usr/bin/
-rwxr-sr-x root/slocate 31728 2009-07-18 02:06 usr/bin/slocate
drwxr-xr-x root/root 0 2004-05-30 05:47 etc/
drwxr-xr-x root/root 0 2002-04-16 05:09 etc/cron.daily/
-rwxr-xr-x root/root 72 2009-07-18 02:05 etc/cron.daily/slocate
-rw-r--r-- root/root 228 2009-06-30 21:16 etc/updatedb.conf.new
drwxr-xr-x root/root 0 2001-12-03 01:45 var/
drwxr-xr-x root/root 0 2001-12-03 01:45 var/lib/
drwxr-x--- root/slocate 0 2000-08-24 03:03 var/lib/slocate/

Same problem even if you allow tar to get a clue by giving it the filename with a suffix .xz

GNU tar 1.22

23 Jul 2003 17:51 Aredhead

Re: Bzip2 option removed

> If this is true how come it is not
> mentioned anywhere in the manual on the
> GNU page? The only way I can see to get
> this support in is by applying a patch
> to the code.

~> tar --version | head -n1
tar (GNU tar) 1.13.25

~> tar --help | grep "\-j"
-j, --bzip2 filter the archive through bzip2

Seems to me like it's there.... No need for any patch of any kind.

23 Jul 2003 11:50 schily

Re: 1.13.25 stable?

1.13.25 still has known bugs that should be
fixed before somebody will make a 1.14.

In order to create a 1.14 you would need a
maintainer who works on GNU tar and who is accepted by RMS.

If you are looking for a mature tar implementation
that is actively maintained you should have a look
at star.

08 Feb 2003 08:20 davidsb

1.13.25 stable?
Freshmeat shows the date 15-Dec-2002 for 1.13.25, but the last Changelog entry is 26-Sep-2001. Almost 1.5 years with no changes! Can 1.13.25 be considered "stable" and released as 1.14?

11 Sep 2002 00:53 cmcginty

Re: Bzip2 option removed
If this is true how come it is not mentioned anywhere in the manual on the GNU page? The only way I can see to get this support in is by applying a patch to the code.


> This reply is way overdue, but ignore my
> original comment. bzip2 support was
> indeed taken out briefly but was put
> back shortly afterwards and has been a
> stardard part of tar even since.
>


21 Aug 2002 16:39 pimlottc

Re: Bzip2 option removed
This reply is way overdue, but ignore my original comment. bzip2 support was indeed taken out briefly but was put back shortly afterwards and has been a stardard part of tar even since.

13 Aug 1999 00:01 t2ukay

1.13.x at alpha.gnu.org
You need to go to the alpha.gnu.org to get the 1.13.x versions. Only the release versions are on ftp.gnu.org. For those of us who are not entirely familiar with the GNU fondations ways.

13 Jul 1999 07:28 pimlottc

Bzip2 option removed
This is odd, looking through the Changlog I see they added an option to unbzip2 files after 1.12 but then took it out before release... any know why?

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.