A tool to zip multiple files into batches.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-25 20:31:56 -03:00
.gitignore initial commit 2026-09-25 17:39:20 -03:00
README.md removed any references to jpg 2026-09-25 18:41:37 -03:00
zip_multi_file.py added a progress bar 2026-09-25 20:31:56 -03:00

Multi-File Batch Zipper

A fast, parallelized Python tool to split large collections of files into multiple independent .zip archives. Unlike standard split archives, each resulting zip file is a fully valid, standalone archive that can be opened individually.

Features

  • Independent Archives: Files are grouped into separate .zip files (default: 1000 files per zip), making them easy to manage and transfer.
  • High Performance: Uses multi-processing to zip files in parallel across all available CPU cores.
  • Dual Interfaces:
    • CLI: Ideal for automation and scripting.
    • GUI: A user-friendly graphical interface built with tkinter for desktop users.
  • Recursive Search: Option to include files found within subdirectories.
  • Customizable: Set custom batch sizes, output prefixes, and the number of parallel worker processes.

Installation

Ensure you have Python 3 installed on your system. No external dependencies are required as it uses standard libraries (tkinter is usually included with Python).

# On some Linux distributions, you might need to install tkinter separately:
# sudo apt-get install python3-tk

Usage

Command Line Interface (CLI)

python zip_multi_file.py <source_folder> <output_folder> [options]

Arguments:

Argument Description Default
source Folder containing files to zip Required
output Folder where the .zip files will be saved Required

Options:

Option Description Default
--batch-size Maximum number of files per zip archive 1000
--recursive Include files from subfolders False
--prefix Filename prefix for output zips batch
--workers Number of parallel processes to use CPU Count
--gui Launch the graphical user interface False

Example:

python zip_multi_file.py ./my_photos ./archives --batch-size 500 --recursive --prefix photo_batch

Graphical User Interface (GUI)

Launch the interactive window with:

python zip_multi_file.py --gui

Credits & License

  • Created with Google Gemma 4 26B
  • License: GNU v3