Subj : uncompression
To   : MRO
From : Digital Man
Date : Wed May 07 2025 05:44 pm

 Re: uncompression
 By: MRO to Digital Man on Wed May 07 2025 07:18 pm

>   Re: uncompression
>   By: Digital Man to MRO on Tue May 06 2025 08:54 pm
>
>  >  >  >  > 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.
>
>  >  > 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
>
> if it's optional how does that matter?

Because there are plenty of gz files have any file metadata because it's not an archive file/format.

>  >  > so it meets the criteria you mentioned for archives, right?
>
>  > No.
>
> I listed all the criteria you mentioned and met it with a gzip archive.
> furthermore, gzip refers to them as archives.
> https://www.gnu.org/software/gzip/manual/gzip.html
>
> Usage: gzip [OPTION]... [FILE]...
> Compress or uncompress FILEs (by default, compress FILES in-place).
>
> Mandatory arguments to long options are mandatory for short options too.
>
>   -c, --stdout      write on standard output, keep original files unchanged
>   -d, --decompress  decompress
>   -f, --force       force overwrite of output file and compress links
>   -h, --help        give this help
>   -k, --keep        keep (don't delete) input files
>   -l, --list        list compressed file contents
>   -L, --license     display software license
>   -n, --no-name     do not save or restore the original name and timestamp
>   -N, --name        save or restore the original name and timestamp
>   -q, --quiet       suppress all warnings
>   -r, --recursive   operate recursively on directories
>       --rsyncable   make rsync-friendly archive
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> IN YOUR FACE!

That's for when using gzip along with an archiver (e.g. tar) to create an archive file that have single files extracted even when the parent archive is changed. Read the man page on that option. That option provides no feature/function when not used in combination with an archive program (e.g. tar). gzip is not an archive format or program.

>  >  > 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.
>
> if it only had ONE, very good book it would be called the library of [good
> book].

Per Wikipedia:

Compressed archives are typically created by assembling collections of files into a single tar archive (also called tarball),[7] and then compressing that archive with gzip. The final compressed file usually has the extension .tar.gz or .tgz.
--
                                           digital man (rob)

This Is Spinal Tap quote #36:
Bobbi Flekman: Money talks, and bullshit walks.
Norco, CA WX: 71.9�F, 54.0% humidity, 10 mph WSW wind, 0.00 inches rain/24hrs

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