Skip to content

Latest commit

 

History

History
68 lines (44 loc) · 1.2 KB

File metadata and controls

68 lines (44 loc) · 1.2 KB

ARCHIVES

Demonstrate how to create archive files.

TODO:

  • zlib, pigz (parallel gzip)
  • provide timings and performance on large fake data generated files
  • xz --long-help
  • checksums for recovery?

Reason

It's useful to be able to quickly create and restore archives.

Tricks

# use file to identify the types of compression
file ./file.zip
> Zip archive data, at least v2.0 to extract, compression method=deflate

file ./file.gz
> gzip compressed data, from Unix, original size modulo 2^32 231151

file ./file.tar
> ./file.tar: POSIX tar archive

ZIP

Zip examples ZIP.md

GZIP

GZIP examples GZIP.md

ZSTD

ZSTD examples ZSTD.md

TAR

TAR examples TAR.md

XZ

XZ examples XZ.md

RAR

RAR examples RAR.md

Resources

  • List of archive formats here
  • Silesia compression corpus here