# unpack-program **Repository Path**: EEPPEE_admin/unpack-program ## Basic Information - **Project Name**: unpack-program - **Description**: 解压缩包程序(实验性) - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-18 - **Last Updated**: 2026-01-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: GenericUnpack ## README # current target 1. create a shared library for auto detect file type(format) and unpack it, lib handle layer 2. expose the shared lib to c, so that I can write a c cli program, but this actually go can also build a cli program, but at least I can use exposed functions to c # ref links - blog tells something: https://blog.csdn.net/m0_69086552/article/details/150476300?spm=1001.2014.3001.5502 - idea is I want to make a generic unpack cli program that I don't need to care what the fuck file type it is, just unpack it ```bash # original linux has so many program to unpack for different file type, like zip, tar, rar, 7z, etc. # for .zip package, do like unzip -d ./output ./test.zip # for .tar package, do like tar -xzvf ./test.tar.gz -C ./output # for .rar package, do like rar x ./test.rar ./output # for .7z package, do like 7z x ./test.7z -o./output # ----------------------------------------- # now mainly just do in one line # for .zip package, do like ./unzip_tool -f ./test.zip -o ./output # for .tar package, do like ./unzip_tool -f ./test.tar.gz -o ./output # for .rar package, do like ./unzip_tool -f ./test.rar -o ./output # for .7z package, do like ./unzip_tool -f ./test.7z -o ./output ```