what program to use to upack log files ?
Niles Rogoff
nilesrogoff at gmail.com
Wed Mar 4 03:17:49 UTC 2015
just run gunzip mail.log.3.gz
gzip can only compress one file at a time, tar doesn't compress at all it
just takes a directory of files and smooshes them all together into one.
The two technologies are usually combined, but a log files is already just
one file so there's no point to using tar
2015-03-03 10:09 GMT-05:00 Diep Pham <favadi at fastmail.fm>:
> On Tue, 03 Mar 2015 09:40:00 +0100
> robert <robert at redcor.ch> wrote:
>
> > 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
>
> Just install atool package and use aunpack command to unpack every
> archive file type.
>
> FYI, you can use less to directly read *.gz file.
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150303/f9f8e4ca/attachment.html>
More information about the ubuntu-users
mailing list