unp: A Universal Command-Line Tool for Effortless Archive Unpacking
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
unp is a versatile command-line utility designed to simplify archive unpacking on POSIX systems. It intelligently determines the correct unpacker to use and safely extracts contents, preventing directory clutter by wrapping multiple top-level items in a new folder. This tool supports a wide array of archive formats, making it an indispensable addition to any developer's toolkit.
Repository Information
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
unp is a powerful command-line utility designed to streamline the process of unpacking various archive formats. Acting as a smart wrapper around existing shell tools on POSIX systems, it intelligently identifies the correct utility needed to extract your files. A key feature of unp is its ability to safely unpack archives, automatically creating a containing folder if an archive would otherwise scatter multiple top-level items directly into your working directory, thus keeping your workspace tidy.
Installation
Installing unp is straightforward, especially if you use pipsi, a pip-like installer for Python applications. If you have pipsi configured, you can install unp with a single command:
$ pipsi install unp
Examples
Using unp is incredibly simple. To unpack an archive, just provide its filename:
$ unp myarchive.tar.gz
unp supports a broad range of archive types, including:
- 7zip Archives (*.7z)
- AR Archives (*.a)
- Apple Disk Image (*.dmg; *.sparseimage)
- Bz2 Compressed Files (*.bz2)
- Bz2 Compressed Tarballs (*.tar.bz2)
- Gzip Compressed Files (*.gz)
- Gzip Compressed Tarballs (*.tar.gz; *.tgz)
- Uncompressed Tarballs (*.tar)
- WinRAR Archives (*.rar)
- Windows Cabinet Archive (*.cab)
- XZ Compressed Files (*.xz)
- XZ Compressed Tarballs (*.tar.xz)
- Zip Archives (*.zip; *.egg; *.whl; *.jar)
Note that DMG support is specific to OS X, where it leverages hdiutil to copy out contents.
Why Use unp
unp stands out for several reasons. Its primary advantage is simplicity, offering a unified command for unpacking diverse formats without needing to remember specific tool names or flags. The automatic directory creation for multi-item archives ensures your projects remain organized. Furthermore, its extensive support for common and less common archive types makes it a highly versatile tool, reducing the need for multiple specialized unpackers.
Links
For more detailed information, to contribute, or to report issues, please visit the official GitHub repository:
Related repositories
Similar repositories that may be relevant next.

Benchmark Radar: A Living Database for AI Benchmarks and Evaluation
September 29, 2026
Benchmark Radar is an extensive open-source project that tracks over 20,710 AI benchmark, evaluation, dataset, and data-quality records from 37 public sources. It provides daily updates, linked evidence, and tools for researchers and developers to discover and analyze AI benchmarks. This project is essential for anyone needing to stay current with AI evaluation trends and model performance.

Pydantic AI Harness: Enhancing Your AI Agents with Robust Capabilities
September 28, 2026
Pydantic AI Harness is the official capability and harness library for Pydantic AI, designed to extend agents for complex, long-running tasks. It provides a modular system of "capabilities" for functionalities like file system interaction, web research, memory, and sub-agent delegation. This library enables developers to build sophisticated and durable AI agents with ease.

Bernstein: Open-Source Governance and Orchestration for AI Agents
September 28, 2026
Bernstein is an open-source framework designed for the governance and orchestration of AI agents, allowing users to define rules declaratively. It enforces these policies and generates verifiable, replayable records of all agent activities. This Python-based solution provides a robust layer for managing complex AI agent workflows with transparency and accountability.

Meshtastic-MCP: AI Tooling for Meshtastic Device Control and Testing
September 27, 2026
Meshtastic-MCP provides an MCP server and agent skills designed for AI tooling to discover, drive, observe, and test Meshtastic devices and applications. It offers a comprehensive suite of capabilities, from portable device control to advanced hardware-free end-to-end testing and replay functionalities. This project aims to streamline the development and testing of Meshtastic ecosystems.
Source repository
Open the original repository on GitHub.
21 counted GitHub visits