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.

AMD Skills: Empowering AI Agents with AMD's Optimized Software Stack
August 16, 2026
AMD Skills is the official catalog of AI agent skills from AMD, designed to empower AI agents with optimized software for AMD hardware. This repository provides knowledge, scripts, and conventions for working with AMD's stack, enabling seamless integration with major coding agents like Cursor, Claude Code, OpenAI Codex, and Gemini CLI.

agent-tackle-box: A Terminal Debugger for LangGraph & LangChain Agents
August 15, 2026
agent-tackle-box is a comprehensive toolkit for developing AI agents, featuring the powerful `agent-debugger`. This terminal debugger provides deep insights into LangGraph and LangChain agents. It allows developers to inspect state, monitor tool calls, and step through Python code, all within a unified Textual UI.

ADR: Uber's Enterprise Security System for AI Agents
August 14, 2026
ADR (Agentic AI Detection and Response) is an enterprise security system developed by Uber to secure AI agents. It offers critical capabilities like observability, security benchmarking, and threat detection, ensuring the safe operation of both employee and customer-facing AI applications. This open-source project is deployed in production at Uber and was accepted to MLSys 2026.

SkillOpt: Optimizing Self-Evolving Agent Skills for LLMs
August 11, 2026
SkillOpt is an innovative text-space optimizer from Microsoft that enables the training of reusable natural-language skills for frozen LLM agents. It approaches skill development with the rigor of deep-learning optimization, using trajectory-driven edits and validation-gated updates. This results in deployable `best_skill.md` artifacts that significantly boost agent performance across various benchmarks and models without modifying model weights.
Source repository
Open the original repository on GitHub.
12 counted GitHub visits