what program to use to upack log files ?

Petter Adsen petter at synth.no
Tue Mar 3 08:53:48 UTC 2015


On Tue, 03 Mar 2015 09:40:00 +0100
robert <robert at redcor.ch> wrote:

> Hi there,
> this sounds stupid but ..
> 
> I am not able to unpack archives that have been created by the ubuntu 
> log schedular.
> At leas not in a bash shell.
> 
> root at salome:~/tmp# tar xvfz mail.log.3.gz
> tar: This does not look like a tar archive
> tar: Skipping to next header
> tar: Exiting with failure status due to previous errors
> 
> 
> however, using file-roller, I can ..
> 
> what is the correct syntax/programm to use for the job?

Use "gunzip <filename>" or "zcat <filename>" :) It's not a tar archive,
it's just gzip'ed.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150303/5b4dff81/attachment.sig>


More information about the ubuntu-users mailing list