Subj : uncompression
To   : Digital Man
From : MRO
Date : 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

so it meets the criteria you mentioned for archives, right?
so yes, it's one file but it's a compressed archive.
---
� Synchronet � ::: BBSES.info - free BBS services :::