Tagged articles
file compression
34 articles · Page 1 of 1
Linux favors tar.gz because it follows the Unix philosophy of single‑purpose tools, preserves file permissions and metadata, is universally available without extra installation, offers flexible compression options, and benefits from a mature ecosystem, whereas ZIP loses metadata and 7Z requires extra tools and is slower.
7zGZIPLinux
0 likes · 7 min read

This tutorial walks through essential Linux commands for archiving, compressing, and transferring files—including tar, gzip, bzip2, xz, zip, rsync, and scp—explaining their options, performance trade‑offs, and practical usage scenarios such as daily backups, cross‑platform sharing, and incremental synchronization.
GZIPLinuxbackup
0 likes · 8 min read

The article explains that 7‑Zip is an open‑source compression program released under GNU LGPL (with AES under BSD and unRAR under dual licenses), highlights its key features, compares its compression ratios to WinRAR using Firefox and Google Earth files, and provides the GitHub repository link.
7-ZipCompressionGitHub
0 likes · 3 min read

This article introduces a Spring‑based download library that lets developers add a single @Download annotation to any controller method to automatically handle file, HTTP resource, or text downloads, supporting concurrent loading, compression, and both WebMVC and WebFlux response models.
DownloadSpringWebFlux
0 likes · 15 min read

This guide explains the concepts and practical commands for file packaging and compression on Linux, covering zip, gzip, bzip2, xz, tar, and split utilities, their options, usage examples, and cross‑platform compatibility with Windows formats.
GZIPLinux commandsfile compression
0 likes · 11 min read

This article introduces a Java utility class named CompressUtil that provides methods for compressing files and directories into ZIP archives, handling duplicate filenames, creating new files safely, and offering HTTP endpoints for downloading the generated ZIP files in a single request.
ServletUtilityfile compression
0 likes · 10 min read

This article walks through the design and implementation of a Spring‑based download library that lets developers download files, HTTP resources, or arbitrary objects with a single @Download annotation, covering the problem setup, reactive architecture, source abstraction, concurrency handling, compression, response writing, and the lessons learned.
DownloadJavaSpring
0 likes · 18 min read

This article explains how to build a Spring‑based download library that uses annotations to simplify downloading files, HTTP resources, or custom objects, supports both WebMvc and WebFlux, handles concurrency, compression, and event‑driven logging, and provides a modular architecture for extensibility.
AnnotationsDownloadJava
0 likes · 15 min read

Learn how to efficiently package and compress files on Linux using tools such as zip, tar, gzip, bzip2, xz and split, covering command syntax, options, practical examples, and tips for handling directories, exclusions, and cross‑platform compatibility.
GZIPLinuxfile compression
0 likes · 11 min read

This tutorial demonstrates how to install PySimpleGUI, use its one‑shot and persistent window patterns, employ a range of popup functions for messages, text, input, file/folder selection, and progress bars, and combine them to build a lightweight Python compression utility.
file compressionpopuppysimplegui
0 likes · 7 min read

This guide explains why and how to compress files on Linux, compares Windows and Linux archive formats, lists common compression types, and provides practical command‑line examples for zip, gzip, bzip2, xz, tar and split utilities.
GZIPcommand-linefile compression
0 likes · 10 min read

This article explains how Go's archive/zip package enables developers to easily create and extract ZIP archives, covering core types, step‑by‑step code examples for writing and reading ZIP files, and a UML overview of the processing flow.
Goarchive/zipfile compression
0 likes · 5 min read

This guide explains how to use Go's archive/tar package to create and extract TAR archives, covering the package overview, key types like Writer, Reader, and Header, and providing complete code examples and UML diagrams to illustrate the process.
archive/tarfile compressiontar
0 likes · 6 min read

This guide explains the tar command’s advanced capabilities—including adding files to existing archives, using gzip or bzip2 compression, extracting specific files with wildcards, creating incremental backups, excluding paths, encrypting archives, limiting archive size, and directing output to custom directories—providing clear examples for each scenario.
Linuxbackupcommand-line
0 likes · 6 min read

This guide explains how to use Python's built‑in zipfile and tarfile modules to compress individual files or entire directories into ZIP or TAR archives, traverse archive contents, and extract them, covering both plain TAR and compressed variants such as .tar.gz.
Compressiondecompressionfile compression
0 likes · 6 min read

This article introduces a Java library that simplifies file and resource download handling in Spring MVC and WebFlux by using annotations, reactive programming, customizable handlers, source factories, concurrent loading, compression, response writing, and event‑driven logging to support a wide range of download scenarios.
BackendDownloadJava
0 likes · 15 min read

This article introduces 7‑Zip, a powerful open‑source compression tool, highlighting its superior compression ratios, multi‑format support, strong AES‑256 encryption, cross‑platform availability, and detailed configuration tips for achieving the highest compression performance.
7-ZipAES-256LZMA
0 likes · 5 min read

This article introduces a Java library that simplifies downloading various resources—files, HTTP URLs, or custom objects—by using a single @Download annotation, reactive programming, customizable handlers, source factories, concurrent loading, compression, and event‑driven logging to streamline complex download workflows in Spring MVC and WebFlux applications.
DownloadJavaSpring
0 likes · 16 min read

This article explains how a Java download library uses a @Download annotation, reactive programming, handler chains, source abstractions, compression, and event logging to simplify downloading various resources—including files, HTTP URLs, and custom objects—while supporting both Spring MVC and WebFlux with concurrent processing and customizable pipelines.
DownloadJavaSpring
0 likes · 14 min read

This article explains how to use PHP's RarArchive and ZipArchive classes to extract RAR and ZIP files, create ZIP archives, and compress folders into RAR archives, providing step‑by‑step code examples and detailed explanations for each operation.
PHPfile compressionrar
0 likes · 7 min read

This article reviews the open‑source 7‑Zip utility, covering its recent updates, cross‑platform support, key features such as high compression ratios and AES‑256 encryption, and provides step‑by‑step installation and command‑line usage instructions for Windows, macOS, and Linux.
7-Zipcommand-linecross-platform
0 likes · 10 min read

This article explains how to work with common compressed file formats such as zip, tar.gz, rar, and 7z in Python, detailing the relevant modules, usage patterns, and providing complete code examples for creating and extracting archives on both Windows and Linux.
7zZipfilefile compression
0 likes · 10 min read

This guide explains what Zstandard (zstd) is, shows how to install it on major Linux distributions, and provides step‑by‑step commands for compressing single or multiple files, checking compression ratios, and decompressing archives safely.
LinuxZstdfile compression
0 likes · 6 min read

The zip_entry_compressedsize() function in PHP returns the compressed size of a specific ZIP archive entry, taking a zip_entry resource obtained from zip_read() as its parameter and providing the size as an integer value.
file compression
0 likes · 1 min read

This tutorial demonstrates how to install PySimpleGUI, design one‑shot and persistent windows, use various popup functions for messages, text input, file and folder selection, progress meters, and finally combine these features to build a lightweight Python zip‑compression tool with full code examples.
DialogGUIPython
0 likes · 7 min read

This guide shows Java developers how to use the Cloudmersive API to create both unencrypted and password‑protected ZIP archives, covering Maven setup, API key configuration, and complete code examples for handling up to ten files with optional AES‑256 encryption.
APICloudmersiveJava
0 likes · 7 min read

This tutorial shows how to use Python's os, shutil, and zipfile modules to batch‑compress thousands of folders, delete the original files, and produce zip archives automatically, turning a labor‑intensive task into a one‑minute automated process.
Zipfilebatch-processingfile compression
0 likes · 6 min read

This article demonstrates how to improve Java file compression performance by replacing unbuffered FileInputStream with BufferedInputStream, then leveraging NIO Channels, transferTo, memory‑mapped files, and Pipe, showing step‑by‑step code examples and timing results that reduce processing time from 30 seconds to about 1 second.
Buffered StreamsJavaMemory Mapped Files
0 likes · 11 min read

This article explains how to improve the performance of Java code that compresses multiple images into a zip archive by replacing unbuffered streams with buffered I/O, then using NIO channels, direct buffers, memory‑mapped files, and pipes, achieving a reduction from 30 seconds to about 1 second.
Buffered StreamsJavaMemory Mapped Files
0 likes · 12 min read

This article demonstrates how to dramatically reduce the time required to compress multiple large images in Java by progressively applying buffered streams, NIO channels, direct buffers, memory‑mapped files and pipe techniques, measuring each optimization and explaining the underlying I/O mechanisms.
Buffered StreamsJavaMemory Mapped Files
0 likes · 13 min read

This article walks through a real‑world Java file‑compression task, shows why a naïve implementation takes 30 seconds for a 20 MB batch, and demonstrates five progressive optimizations—BufferedInputStream, NIO Channel, memory‑mapped files, Pipe, and code snippets—that cut the time down to about one second while explaining the underlying I/O mechanisms.
BufferedInputStreamJavaMemoryMappedFile
0 likes · 12 min read

The article explains Alibaba Youku’s picture‑book team’s streaming ZIP decompression technique that bypasses the end‑of‑file central directory by using each entry’s local file header, supports PKWARE and AES‑encrypted archives, and achieves up to 100 % faster extraction, reducing a 30 MB file’s load time to under one second.
AES encryptionCentral DirectoryLocal File Header
0 likes · 9 min read

Learn how to use Python's zipfile module to inspect ZIP archives, extract their contents, and create new compressed files, with clear code examples demonstrating reading file info, extracting all files, and adding files in write or append mode.
Code TutorialPythonZIP archive
0 likes · 5 min read

This concise tutorial shows how to use Python's built‑in zipfile module to recursively collect all files from a specified folder and create a compressed ZIP archive, including example code and a brief note on where to find more automation resources.
file compressionscriptingzip
0 likes · 2 min read
