# archive-creator **Repository Path**: huafua/archive-creator ## Basic Information - **Project Name**: archive-creator - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-03 - **Last Updated**: 2025-06-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Archive-Creator Just a tool that packs specified folder to separated .7z files, this tool is based on [7-zip Manager](https://www.7-zip.org/download.html), please note ## 1. Basic configuration - `sourceFolder`: which folder to be packed - `executablePath`: where the 7z.exe exists - `batchSize`: the size of the files to be packed into one archive, count in bit - `archiveOutputPath`: where the 7z files to be saved into ## 2. Sample create a file named `index.js`, and copy following code into it ```js const { ArchiveCreator, Configuration } = require("./core"); new ArchiveCreator( Configuration.create({ sourceFolder: "C:\\users\\F3231918\\desktop\\for-zip-demo", executablePath: "C:\\Program Files\\7-Zip\\7z.exe", batchSize: 1024 * 50, archiveOutputPath: "archives", }) ).execute(); ``` and then type `node index.js` in command prompt console, you will find all the compressed files saved into `archiveOutputPath` folder