Subj : uncompression
To   : MRO
From : Digital Man
Date : Tue May 06 2025 08:54 pm

 Re: uncompression
 By: MRO to Digital Man on Tue May 06 2025 08:49 pm

>   Re: uncompression
>   By: Digital Man to MRO on Tue May 06 2025 05:58 pm
>
>  >  >  > Right, .gz files aren't archives. No plan to support them directly
>  >  >  > in SBBS. .tgz / .tar.gz files *are* supported however.
>
>  >  > well a .gz file is a single compressed file, right?
>
>  > No, it's a block of compressed data which may not have originally been a
>  > file.
>
>  >  > so why are you saying it's not an archive format?
>
>  > Becaue it's not. An archive file/format contains one or more files, their
>  > data/contents and metadata about those files (e.g. file name, date/time,
>  > size, checksum) - a .gz file doesn't contain any of that.
>
>  > A .tar file is an archive.
>  > A .gz file is compressed data.
>  > A .tar.gz (or .tgz) is a compressed archive.
>
> well i only worked with .gz files long ago.  but only when i HAD to, so i'm
> a bit confused about why you think that it's not an archive format.
>
> so i used gzip and created an archive
>
> root@linux:~# gzip -l shit.rar.gz
>          compressed        uncompressed  ratio uncompressed_name
>            12861660            12860366  -0.0% shit.rar
> root@linux:~# gzip -l -v  shit.rar.gz
> method  crc     date  time           compressed        uncompressed  ratio
> uncompressed_name
> defla d61855b3 Sep  7 12:47            12861660            12860366  -0.0%
> shit.rar
>
> as you can see, the archive i created shows crc, date time the compressed
> and uncompressed size, the ratio and the uncompressed filename
> https://i.imgur.com/EwYcPym.png

Those header fields are optional: https://en.wikipedia.org/wiki/Gzip

> so it meets the criteria you mentioned for archives, right?

No.

> so yes, it's one file but it's a compressed archive.

If a library can only store one book, is it still a library? No, it's not.
--
                                           digital man (rob)

Sling Blade quote #4:
Doyle: wimpy-ass kids or mental retards.. she got one of each livin' with her.
Norco, CA WX: 55.9�F, 89.0% humidity, 5 mph WNW wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net