what program to use to upack log files ?

Marcos Almeida Azevedo marcos.al.azevedo at gmail.com
Wed Mar 4 07:02:50 UTC 2015


You may also use wildcard on gunzip if need to uncompress multiple files

On Wed, Mar 4, 2015 at 11:17 AM, Niles Rogoff <nilesrogoff at gmail.com> wrote:

> 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
>>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>


-- 
Marcos | I love PHP, Linux, and Java
<http://javadevnotes.com/java-long-to-string-examples>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150304/f7fa6ea4/attachment.html>


More information about the ubuntu-users mailing list