Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 897 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 897 Bytes

Zip All Folders license

About

A collection of scripts that do the same thing in different languages.
Zipping all folders in a directory to their own respective zip file.

Usage

ZipAllFolders.bat <path>
./ZipAllFolders.sh <path>
./ZipAllFolders.ps1 <path>
python ZipAllFolders.py <path>

<path> is optional. The current working directory is used if left empty.
The script will prompt to remove the original folders,
then proceed to zip all folders and report the progress and file size.

Requirements

The Batch script requires 7-Zip (7z.exe) to be in the environment PATH.
The Bash script requires the zip command.
The Powershell and Python scripts use built-in modules to zip.